This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why is building a cross compiler "out-of-the-box" always broken?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]