[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: preventing generation of -m32
From: |
Bob Friesenhahn |
Subject: |
Re: preventing generation of -m32 |
Date: |
Wed, 28 Jan 2009 12:35:46 -0600 (CST) |
On Wed, 28 Jan 2009, David Livshin wrote:
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.
Autoconf does not generate architecture flags like -m32. It likely
comes from newlib's configure script. The only flags that Autoconf
might typically produce are '-g -O2' and '-std=gnu99'.
How to prevent this from happening.
Talk to the newlib developers or search the provided configure.ac
script to find where -m32 is being inserted, and re-generate the
configure script.
Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/