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

Re: Building GCC & CFLAGS settings


On 05/05/2010 07:42 PM, H.J. Lu wrote:
On Wed, May 5, 2010 at 10:18 AM, Steve Ellcey<sje@cup.hp.com> wrote:

I was wondering if anyone has built GCC using a CFLAGS (and CXXFLAGS) setting that causes GCC to generate code that is not compatibile with the default GCC output.

I am using


# CC="gcc -m32" CXX="g++ -m32" ...../configure ....

to bootstrap 32bit gcc on 64bit Linux.


Out of curiosity, H.J.Lu, is it for performance reasons (like eg. bootstrapping in 32 bits mode is faster) or is it for testing reasons (like you are working on x86 32 bits backend)?


I was imagining that bootstrapping in 64 bits mode would be faster (more registers at run time of the compiler and less pressure on the register allocator at compile time of the compiler)

When I was bootstrapping a 32 bits GCC, I used to do that in a chroot-ed environment (containing a minimal debian x86 32bits distro).

Cheers.

--
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***


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