[Buildroot] Issue for the integration of Codesourcery external toolchains
Baruch Siach
baruch at tkos.co.il
Wed Jan 6 06:59:53 UTC 2010
Hi Thomas,
Thanks for you work on this. My comment below.
On Mon, Jan 04, 2010 at 04:24:22PM +0100, Thomas Petazzoni wrote:
[snip]
> Possible solutions
> ==================
>
> * Build a more normal sysroot in $(STAGING_DIR) by combining the
> contents of armv4t and the header files. But this would require
> telling gcc that the libraries aren't in armv4t anymore. This is
> probably possible using a custom spec file, but is quite
> complicated.
How about generating symlinks in the staging directory:
armv4t/usr/include -> ../../usr/include
thumb2/usr/include -> ../../usr/include
and then using the output of -print-sysroot for each target?
>
> * Reconsider the solution of copying the sysroot, and try harder with
> the more traditionnal -L/-I solutions.
>
> * Another solution ?
>
> Thanks for reading such a long mail, and thanks in advance for your
> ideas!
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the buildroot
mailing list