Why is building a cross compiler "out-of-the-box" always broken?
Segher Boessenkool
segher@kernel.crashing.org
Mon Aug 20 09:16:00 GMT 2007
> Thanks, I git cloned buildall and it sure looks simple (now that you
> have made it work) :-!
Good to see it is useful to more people than just me :-)
> Although, that combination of options was not exactly obvious at first
> glance.
Heh. Almost all of it is just "disable what we don't need". OTOH,
that's not how I ended up with those options: I added one every time
something broke.
> I'll try it on my build system at work tomorrow and see what bites me
> next.
What target(s) are you building?
> I expect that I am
> having old nightmares from when I was trying to do this under Solaris
> and made it harder than
> I needed to on a Linux host. Apparently, I'm not the only one who got
> lead astray though.
The manual explicitly says you need to have target headers. With
all those --disable-XXX and especially --enable-sjlj-exceptions it
all works fine without, though.
Let me know how it goes,
Segher
More information about the Gcc
mailing list