Sure, jullien@sims ~ $ find /usr -name 'crti.o' /usr/lib/arm-linux-gnueabihf/crti.o jullien@sims ~ $
As you see, crti.o exists only on arm-linux-gnueabihf not on other directories you mentioned. For that reason, I use "./configure --with-libgcc" on RPi jullien@sims ~/tinycc $ more config.h /* Automatically generated by configure - do not modify */ #ifndef CONFIG_TCCDIR # define CONFIG_TCCDIR "/usr/local/lib/tcc" #endif #define GCC_MAJOR 4 #define GCC_MINOR 7 #define HOST_ARM 1 #define TCC_ARM_VERSION 6 #define CONFIG_USE_LIBGCC #define TCC_VERSION "0.9.25" On CentOS 6.3 I also have the same issue (either with or without --with-libgcc) [cjullien@hilbert lib]$ find /usr -name 'crti.o' /usr/lib64/crti.o [cjullien@hilbert tinycc]$ more config.h /* Automatically generated by configure - do not modify */ #ifndef CONFIG_TCCDIR # define CONFIG_TCCDIR "/usr/local/lib/tcc" #endif #define GCC_MAJOR 4 #define GCC_MINOR 4 #define HOST_X86_64 1 #define CONFIG_USE_LIBGCC #define TCC_VERSION "0.9.25" ----- Message d'origine ----- De : "Thomas Preud'homme" <[email protected]> Date jeu. 14/02/2013 16:13 (GMT +01:00) À : "[email protected]" <[email protected]>, "Christian JULLIEN" <[email protected]> Objet : Re: [Tinycc-devel] RE :Re: [+Last+] Call for testing Le jeudi 14 février 2013 16:06:24, Christian JULLIEN a écrit : > Sorry Thomas, made 5 mn ago As I said, super fast testers :) Thanks ! > > As usual, I used a fresh git clone to test: > > makeinfo tcc-doc.texi > make -C tests test > make[1]: Entering directory `/home/jullien/tinycc/tests' > ------------ hello-exe ------------ > ../tcc -B.. ../examples/ex1.c -o hello || (../tcc -vv; exit 1) &amp;&amp; > ./hello tcc: error: file 'crt1.o' not found > tcc: error: file 'crti.o' not found > tcc: error: file '/lib/libgcc_s.so.1' not found > tcc: error: file 'crtn.o' not found > tcc: error: undefined symbol 'printf' Can you show me the result of: ls "/usr/lib/$(conftest)/crti.o" ls "/usr/lib64/crti.o" ls "/usr/lib/crti.o" and the content of config.h ? Best regards, Thomas
_______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
