[uClibc]Building shared libstdc++

Felix Radensky felix at allot.com
Wed Jan 22 09:31:22 UTC 2003


Hi, Eric

It works now with some modifications to Makefile.

First, I had to put back the strip target from earlier version
of Makefile:

$(BUILD_DIR)/.stripped: $(BUILD_DIR)/.shuffled
        -strip --strip-all -R .note -R .comment $(STAGING_DIR)/bin/*
        -$(STAGING_DIR)/bin/$(ARCH)-uclibc-strip --strip-unneeded \
        touch $(BUILD_DIR)/.stripped

 Strip target in the current Makefile makes all powerpc-uclibc-*
 executables unusabe (I cannot execute them, and `file` reports
'no machine` where PowerPC should be.

I also had to replace bzcat by bunzip2 -c, as bzcat is not present on
my Slackware-8.0 machine.

Also, I've modified the definion of LINUX_SITE to be
http://www.kernel.org/pub/linux/libs/uclibc/toolchain/
as kernel headers cannot be found on ftp://www.uclibc.org/uClibc/toolchain/

Thanks a lot for your help.

Felix.

Erik Andersen wrote:

>On Tue Jan 21, 2003 at 11:57:16AM +0200, Felix Radensky wrote:
>  
>
>>Hi, folks
>>
>>How can I build shared libstdc++ for gcc-3.2.1 uClibc toolchain ?
>>By default only static library is created.
>>    
>>
>
>I've fixed this problem now.  Care to do a 'cvs up' and
>try again?
>
> -Erik
>
>--
>Erik B. Andersen             http://codepoet-consulting.com/
>--This message was written using 73% post-consumer electrons--
>
>  
>





More information about the uClibc mailing list