[uClibc]Size of PPC-binaries too big?

sergej.gehl at freenet.de sergej.gehl at freenet.de
Tue Aug 26 13:28:50 UTC 2003


Am Tue, 26 Aug 2003 03:13:49 -0600 hat Erik Andersen 
<andersen at codepoet.org> geschrieben:

> On Tue Aug 26, 2003 at 11:08:53AM +0200, sergej.gehl at freenet.de wrote:
>> >> Now I'm trying to cross compile to PPC405 (gcc 2.95.3 with binutils 
>> 2.14 >> and uclibc 0.9.20 as i386->ppc cross compiler). Size of 
>> programms is >> about 30-35 KB now. Size of a simple HelloWorld-programm 
>> is about 20 KB!
 -- cut --
>>
>> Hi,
>>
>> thank you for the answer. Which (cross)compiler do You use?
>> Have You build it by yourself?
>
> http://www.uclibc.org/cgi-bin/cvsweb/toolchain/
>
> -Erik
>
> --
> Erik B. Andersen             http://codepoet-consulting.com/
> --This message was written using 73% post-consumer electrons--

I have just built the toolchain for gcc 3.2.2. But if I try
to use it i have a linking problem:

 powerpc-uclibc-gcc -o hello helloworld.c
/opt/toolchain/lib/gcc-lib/powerpc-linux/3.2.2/../../../../powerpc-linux/bin/ld: hello: hidden symbol `__eqdf2' in /opt/toolchain/lib/gcc-lib/powerpc-linux/3.2.2/libgcc.a(_eq_df.oS) is referenced by DSO
collect2: ld returned 1 exit status 

Any hints about it?

Cheers
Sergej 


-- 
eBay - Jetzt besser einkaufen!
Ueber 1. Mio. Angebote. Startpreise ab EUR 1,-
http://www.freenet.de/tipp/shopping/ebay


More information about the uClibc mailing list