tinycc-devel
[Top][All Lists]
Advanced

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

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


From: Jerry Reed
Subject: Re: [Tinycc-devel] RE :Re: [+Last+] Call for testing
Date: Thu, 14 Feb 2013 10:43:13 -0500

On Raspberry PI, configured --with-libgcc, getting this:

address@hidden ~/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
address@hidden ~/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 <address@hidden> wrote:
Le jeudi 14 février 2013 16:26:28, Christian JULLIEN a écrit :
> Sure,
>
> address@hidden ~ $ 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
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel




--
Interested in bats?  Check out my blog at: http://www.karaokebats.com/
reply via email to

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