On Raspberry PI, configured --with-libgcc, getting this: pi@raspberrypi ~/tinycc $ make test make -C tests test make[1]: Entering directory `/home/pi/tinycc/tests' ------------ hello-exe ------------ ../tcc -B.. ../examples/ex1.c -o hello || (../tcc -vv; exit 1) && ./hello tcc: error: file 'crt1.o' not found tcc: error: file 'crti.o' not found /lib/libgcc_s.so.1: error: referenced dll 'libc.so.6' not found tcc: error: file 'crtn.o' not found tcc: error: undefined symbol 'printf' tcc version 0.9.25 (ARM Hard Float Linux) install: /usr/local/lib/tcc/ crt: /usr/lib libraries: /usr/lib /lib /usr/local/lib include: /usr/local/include /usr/include /usr/local/lib/tcc/include make[1]: *** [hello-exe] Error 1 make[1]: Leaving directory `/home/pi/tinycc/tests' make: *** [test] Error 2 pi@raspberrypi ~/tinycc $
So with or without libgcc, having trouble finding the crt* files. I might have a cleaner PI I can try it on this evening EST. Jerry On Thu, Feb 14, 2013 at 10:36 AM, Thomas Preud'homme <[email protected]>wrote: > Le jeudi 14 février 2013 16:26:28, Christian JULLIEN a écrit : > > Sure, > > > > jullien@sims ~ $ find /usr -name 'crti.o' > > /usr/lib/arm-linux-gnueabihf/crti.o > > Of course, how stupid I am ! Ok, so I can detect EABI easily but now I > need to > find a way to detect whether it's standard softloat or hardfloat calling > convention. > > Thanks > > _______________________________________________ > Tinycc-devel mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/tinycc-devel > > -- Interested in bats? Check out my blog at: http://www.karaokebats.com/
_______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
