tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] RE :Re: RE :Re: [+Last+] Call for testing


From: Christian JULLIEN
Subject: [Tinycc-devel] RE :Re: RE :Re: [+Last+] Call for testing
Date: Thu, 14 Feb 2013 16:26:28 +0100 (CET)

Sure,

address@hidden ~ $ find /usr -name 'crti.o'
/usr/lib/arm-linux-gnueabihf/crti.o
address@hidden ~ $

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

address@hidden ~/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)

address@hidden lib]$ find /usr -name 'crti.o'
/usr/lib64/crti.o

address@hidden 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" <address@hidden>
Date jeu. 14/02/2013 16:13 (GMT +01:00)
À : "address@hidden" <address@hidden>, "Christian JULLIEN" <address@hidden>
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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]