This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Is is possible to build a cross toolchain for x86_64 that handles the -m32 option?
Buzzwords: biarch, --enable-multilib. Essentially, you just need to compile libraries twice, once in 32 bit mode, once in 64 bit mode. Sounds easy, but I'm sure it's tricky to get right.
The Debian and Gentoo folks have surely done this. In fact, every distribution that supports x86_64 (and all the other 64/32 bit chips like powerpc64, sparc64, and maybe mips64) has solved this somehow.
You might check out how they did it and report back :-) - Dan
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |