[PATCH] libelf to use host compiler

Arnaud Lacombe lacombar@gmail.com
Sun Dec 5 20:23:00 GMT 2010


On Sun, Dec 5, 2010 at 8:53 AM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> Kalle, All,
> On Friday 03 December 2010 12:36:44 Kalle Kankare wrote:
>> It appears, that the configure scripts of libelf versions 0.8.13 and
>> 0.8.12 do not honour the --host option. The compiler must be given as an
>> environment variable or the process will use the command "gcc" as the
>> compiler.
>> It seems that this is already done in the function do_libelf_target in
>> scripts/build/companion_libs/libelf.sh, but not in function do_libelf.
> Hmm. Good catch!
> I seldom build canadian crosses, so I did not catch it. Thanks for the
> heads-up! :-)
>> Here is a patch for using the CT_HOST compiler when compiling libelf:
> I added it to my pending list for testing. Thank you!
that's fun, I sent the same kind of change for GMP a year ago, and you
NACK'ed it on the same behalf as my original comment to this patch...

 - Arnaud

For unsubscribe information see http://sourceware.org/lists.html#faq

More information about the crossgcc mailing list