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: GCC support libraries and sysroot


Le Mon, 7 May 2012 08:23:59 +1200,
Michael Hope <michael.hope@linaro.org> a Ãcrit :

> Hi Thomas.  CodeSourcery and crosstool-NG supply a compiler, runtime,
> and sysroot.  We supply a compiler and runtime that work with a few
> sysroots, and include a basic sysroot so the compiler works out of the
> box.  It's important to me that an end user can easily swap out the
> sysroot for a bigger or compatible (Fedora?  Debian?) one
> 
> Could you tell me more about your use case?  Perhaps we can tweak the
> default sysroot.

Well, in the end, I managed to get things working for Buildroot. I
considered that the GCC support libraries (libgcc_s, libstdc++, etc.)
can be in a separate directory, outside the sysroot, and I tweaked our
external toolchain logic to support this case. It seems to work fine.

I'm not sure it's really readable, but the change I've done to
Buildroot is
http://git.buildroot.net/buildroot/commit/?id=e1f0804cc11706648f33a96d68e613b8d6593db3.
I've also added support for Linaro 2012.04, and I've successfully
generated and booted an ARM Linux system with Buildroot and the Linaro
2012.04 toolchain.

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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