I try to compile tinycc on linux with gcc like this:
#./configure --enable-cross
# make
# make test
# make install
and got tcc, arm-tcc etc.
and then with arm-tcc to compile tinycc again, so that it can it run on arm.
# make clean
#./configure --cpu=armv4l --cc=arm-tcc
# make
and got such message:
/usr/lib/crtl.o: invalid object file
/usr/lib/crti.o: invalid object file
tcc.c:9888: warning:#warning add arch specific rt_get_caller_pc()
/usr/lib/libm.so:bad architecture
/usr/lib/libm.a: invalid object file
tcc: cannot find -lm
make:*** [tcc] Error 1
I am using armv4l;
#ls /lib/ld-linux.so* got
/lib/ld-linux.so.2
Ping
[EMAIL PROTECTED] 写道:
>Send Tinycc-devel mailing list submissions to
> [email protected]
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.nongnu.org/mailman/listinfo/tinycc-devel
>or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
>
>You can reach the person managing the list at
> [EMAIL PROTECTED]
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Tinycc-devel digest..."
>
>
>Today's Topics:
>
> 1. tinycc on arm (ccecping)
> 2. Re: tinycc on arm (Daniel Gl?ckner)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 2 Sep 2008 11:31:01 +0800 (CST)
>From: ccecping
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel