[Buildroot] [PATCH] Compile static versions of gcc libraries

Jérôme Pouiller jezz at sysmic.org
Mon Oct 14 09:16:08 UTC 2013


On Sunday 13 October 2013 15:33:55 Thomas Petazzoni wrote:
> Dear Jérôme Pouiller,
> 
> On Thu, 10 Oct 2013 11:40:42 +0200, Jérôme Pouiller wrote:
> > Since default configure options for host packages include
> > --disable-static, gcc was not configured to build static version of
> > its libraries (libgcc.a, libstdc++.a, ...).
> 
> I'm a bit confused, the toolchains I have here definitely do have
> libgcc.a :
> 
> $ find . -name 'libgcc.a'
> ./host/usr/lib/gcc/sh4-buildroot-linux-uclibc/4.7.3/libgcc.a

Sorry, in contrary of what I wrote in my commit message, this does not 
impact libgcc.a. However, it impacts libstdc++.a, libgomp.a, 
libmudflap*.a, ...

> What practical issue are you seeing?
My main concern is libstdc++.a.


-- 
Jérôme Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr



More information about the buildroot mailing list