This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
preventing generation of -m32
- From: David Livshin <david dot livshin at dalsoft dot com>
- To: newlib at sourceware dot org
- Date: Thu, 29 Jan 2009 02:16:47 -0800 (PST)
- Subject: preventing generation of -m32
Hi,
I am attempting to create x86-64 ( 64 bit ) cross compiler that runs on
32-bit x86 system. While configuring 'newlib' the '-m32' flag is generated
preventing some of the x86_64 ( assembly ) sources from being compiled.
How to prevent this from happening.
configure was attempted in the following way:
export TARGET=x86_64-unknown-linux-gnu
export PREFIX=/opt/gnu/cross64
export PATH=$PATH:$PREFIX/bin
CC=${TARGET}-gcc ../newlib/configure --host=$TARGET --prefix=$PREFIX
Thanks in advance.
David
http://www.dalsoft.com
--
View this message in context: http://www.nabble.com/preventing-generation-of--m32-tp21724104p21724104.html
Sent from the Sourceware - newlib list mailing list archive at Nabble.com.