This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Static linking impossible on the host system


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]