[PATCH] libelf to use host compiler
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Sun Dec 5 13:54:00 GMT 2010
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!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list