Static linking impossible on the host system

Christian Kujau lists@nerdbynature.de
Sat Sep 15 23:49:00 GMT 2012


On Sat, 15 Sep 2012 at 12:57, Yann E. MORIN wrote:
> Using your provided .config, if you go into the menuconfig:
>   C compiler  --->
>     [*] Link libstdc++ statically into the gcc binary

Ah, under "C compiler"...now I've found it! Damn, I was sure I've looked 
through all the config knobs, but apparently not.

> It's more portable, so you can move it around machines without bothering
> about the host distro.

OK, understood. I've left menuconfig now with CT_WANTS_STATIC_LINK and 
CT_CC_STATIC_LIBSTDCXX enabled but have installed the glibc-static resp. 
glibc-devel-static package. At least the "static linking impossible" error 
is gone now, let's see how far it progresses.

Thanks,
Christian.
-- 
BOFH excuse #86:

Runt packets

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list