GCC brokenness (venting)

Stephen Warren swarren at wwwdotorg.org
Mon Mar 27 04:02:11 UTC 2006


Garrett Kajmowicz wrote:
> Now, as a part of uClibc+ we are using:
> ./gcc -print-file-name=libsupc++.a
> to find and rip chunks out of the binary.  However, we get the system library 
> instead of our shiny new one.  Here's a little more information.

You need to tell gcc that it's being cross-compiled, so that it doesn't
automagically go looking in the system directories for you.

It should be as simple as:

--host=i686-pc-linux-gnu
--build=i686-build_pc-linux-gnu

Or, you may be able to edit the specs file for this - not sure...


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20060326/ddaf03b9/attachment.pgp 


More information about the uClibc mailing list