Problem building cross compiler for x86_64
Dan Kegel
dank@kegel.com
Fri Jan 20 17:44:00 GMT 2006
On 1/20/06, Manish Katiyar <mkatiyar@gmail.com> wrote:
> Lastly now i understand that I want to build a canadian cross
> compiler rather than simple cross compiler
With x86_64, you can easily
build a 32 bit compiler without doing a canadian cross,
since x86_64 can run 32 bit binaries. All you have to do
is arrange for 'gcc' to build a 32 bit binary, e.g. by using
the -m32 option.
What OS are you running? If it's Debian, you'll
have to run the build in their 32 bit chroot. Otherwise
just adding -m32 to the flags used by the compiler
should do it.
- Dan
--
Wine for Windows ISVs: http://kegel.com/wine/isv
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org
More information about the crossgcc
mailing list