crosstool: issues compiling glibxc: as and ld missing or too old
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Wed Aug 24 16:44:00 GMT 2011
Julain, All,
On Wednesday 24 August 2011 18:17:48 Julian wrote:
> Hey guys,
> i've some problems with crosstool 0.43 (kegel.com/crosstool):
The original crosstool is no longer maintained, and is now considered
orphaned.
There is a spin-off (aka fork) called crosstool-NG: http://crosstool-ng.org/
that is current, and which I suggest you have a look at.
(Disclaimer: I'm the maintainer for crosstool-NG.)
> I tried to compile a cross toolchain for an embedded computer with
> Motorola MPC8250. It seems to belong to the PowerPC family 600 (EC603e)
> => powerpc-603.
> Now, I've a host with Ubuntu 11.04 (2.6.38-11), gcc 4.52-8ubuntu4 and
> binutils 2.21.0.20110327.
> I downloaded crosstool and followed the instructions
> (http://kegel.com/crosstool/current/doc/crosstool-howto.html#quick).
> Everything worked so far, until glibc (?) showed an error:
> gcc-4.1.0 + glibc-2.3.5 and newer (yes, I tried many versions :-/ ...):
> > configure: error:
> > ** These critical programs are missing or too old: as ld
This is a known issue. In fact, the test in glibc is wrong, and does not
breaks on too-recent a version of binutils (as and ld come from binutils).
This is properly handled in crosstool-NG.
> Earlier versions say that gcc is too old (or missing).
> They are not missing and probably too new for this?!
Indeed, they are "too new" for glibc to recognise them, although they are
not "too new" to build glibc.
> What can I do?
As I said above, crosstool is no longer maintained. Please, try crosstool-NG.
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