Clang support
Yann E. MORIN
yann.morin.1998@free.fr
Thu Nov 15 20:01:00 GMT 2012
Maurizio, All,
On Thursday 15 November 2012 Maurizio Vitale wrote:
> My understanding is that no Clang support is planned until Clang gets
> to cross-compilation on more platforms.
That's my understanding, too, that clang is not yet ready for cross-
compilation. And that's why I did not plan its inclusion for now.
> Wouldn't be interesting to have initial support of clang in native mode
> only?
> I for one (ab?)use crosstool to build native toolchains, as it make a
> good job at putting together compiler, binary utilities and libraries.
Good to read. But then, how do you cope with sysroot?
In crosstool-NG terminology, a native toolchain is one that targets
the current system. It means that:
- it targets the same architecture
- it targets the same ABI
- it targets the same kernel-system (eg. the same C library)
Also, crosstool-NG currently has no support for the 'native' toolchain
case, and even explicitly aborts if you select 'native' in the menuconfig.
Did you patch crosstool-NG to allow the 'native' case?
> Any work going on in this direction?
Not from my part, except for keeping an eye on clang status from time to
time.
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