ARMv7 - EABI - Cross Compiler

Vassilis Laganakos vassilis.laganakos at yahoo.com
Thu Jun 4 23:59:30 UTC 2009


Hi Mark,

> What configuration options are you using for an ARM cross compiler?
>
Please bear with me while I put everything in a wiki/log page to be accessible
- and visible for inspection :o) - to everyone. (should I submit this to the
freebsd/arm page as a howto as well?). Have to repeat though the procedure
now that I switched to HEAD.


> The cross compile fails for me when it gets to the arm "multilib" build.
> I tried with gcc44 and gcc45. I am trying one last time with the configuration
> option "--disable-multilib", but I am not holding my breath.
> 
I had faced the same problem. The problem is possibly something that 
was reported as a bug against gcc, that involves acx.m4  getting the wrong path
to ${host_subddir} 4.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40191

What I did was hand editing the Makefile and changing the offended variable 
$host_subdir to what it should be. For me it was "host-i386-unknown-freebsd"
Then restarted gmake. So it doesn't seem to be --multilib, and although I had
thought exactly the same (disabling it!) it looks like it is required.

You will come across a few more sub-packages that face the same problem. 
The treatment is the same. :o)

It will ultimately stop (fail) when it will try to find libc... That's where I am now :o)

Kind regards,
Vassilis L.


      



More information about the freebsd-arm mailing list