This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

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.


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