[Buildroot] [PATCH 3/9] Add support for multilib external toolchains

Grant Likely grant.likely at secretlab.ca
Tue Jan 12 19:15:10 UTC 2010


On Tue, Jan 12, 2010 at 4:06 AM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Hi Grant,
>
> I've recently tried to work again on integrating CodeSourcery
> toolchains into Buildroot, but I'm facing issues related to multilib.
> I've summed up these issues in the following post:
>
>  http://lists.busybox.net/pipermail/buildroot/2010-January/031421.html
>
> If you have any idea on how to solve the issues, don't hesitate to tell
> me.

I'm not a gcc expert so I don't know.  It would be ideal if gcc could
tell you the subdirectory for a given set of flags (instead of trying
to parse -print-multi-lib output) and then copy only those libraries.
Include files would need to be copied separately of course.  Then
you'd either need a symlink in the target directory so that gcc
doesn't get confused, or a flag to tell gcc to turn off multilib.

You might try asking Segher Boessenkool (cc'd).  He's quite adept at gcc-fu.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.


More information about the buildroot mailing list