Hi,
really useful project! I tried to manually compile e.g. STLPort with an old glibc version and failed in all my endeavours, while ellcc worked without much hassle once I discovered it.
With the latest SQLite release (https://sqlite.org/snapshot/sqlite-amalgamation-201601191754.zip) I get following linker error with target aarch64:
ecc shell.c sqlite3.c -o sqlite -target aarch64-linux-eng
/tmp/sqlite3-2570ba.o: In function `sqlite3AtoF’:
sqlite3.c:(.text+0x33b8c): undefined reference to `__floatditf’
sqlite3.c:(.text+0x33bc4): undefined reference to `__floatditf’
sqlite3.c:(.text+0x33cb8): undefined reference to `__floatditf’
sqlite3.c:(.text+0x33cd4): undefined reference to `__floatditf’
/tmp/sqlite3-2570ba.o: In function `sqlite3IntFloatCompare’:
sqlite3.c:(.text+0x43358): undefined reference to `__floatditf’
ecc: error: linker command failed with exit code 1 (use -v to see invocation)
Not too much of an issue. I’ll just skip this architecture. I would not be able to test it anyway since I don’t have a ARM64 board.
Thanks!