[uClibc]Building shared libstdc++

Erik Andersen andersen at codepoet.org
Wed Jan 22 10:53:27 UTC 2003


On Wed Jan 22, 2003 at 11:31:22AM +0200, Felix Radensky wrote:
> 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.

Oops.  You are right.  I had it correct the first time.
Thats what happens when I get too sleepy to think.  :)

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

That is rather strange.  Normally bzip2 is installed with 3 hard
links: /usr/bin/bunzip2, /usr/bin/bzcat, and /usr/bin/bzip2 which
then acts like whatever it was invoked as.  I use version 1.0.2
or bzip2 here.  I wonder if any other systems have this problem?

> 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/

Oops again!  I deleted my default set of kernel headers while
cleaning up yesterday.  I'm putting them back now, though using
the kernel.org mirrors for that is probably better anyways.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list