Open ghost opened 1 year ago
pkg install dmd gdc
@0m364 Termux doesn't provide dmd and gdc packages. Check the information you providing to other users.
We only have ldc
for D compiler.
I am proposing to move LDC to disabled package. The latest version will result in stack corruption. https://github.com/ldc-developers/ldc/issues/4383
Problem description
When i try to compile with ldc2, i get an error message: Error: No matching section for triple 'armv7a--linux-androideabi' in /data/data/com.termux/files/usr/etc/ldc2.conf Error: cannot find source code for runtime library file 'object.d'
What steps will reproduce the bug?
echo 'void main() {}' >hello.d ldc2 hello.d
What is the expected behavior?
echo 'void main() {}' >hello.d ldc2 hello.d ./hello
System information
termux-info: