This is the mail archive of the
mailing list for the GCC project.
Re: sparc "environments" versus -mcpu=...
- From: Jeff Sturm <jsturm at one-point dot com>
- To: lucier at math dot purdue dot edu
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 8 Jan 2002 19:04:45 -0500 (EST)
- Subject: Re: sparc "environments" versus -mcpu=...
On Mon, 7 Jan 2002 firstname.lastname@example.org wrote:
> The documentation for -m32 and -m64 on sparc says
> > Generate code for a 32-bit or 64-bit environment.
> Is this totally independent of what I set for -mcpu=...?
That was my understanding, except that not all combinations of
-mcpu/-m32/-m64 are possible.
There are important distinctions between these options. For instance, you
can link code with different -mcpu values, not so for -m32/64.
> But if I leave out the -m32, gcc ICE's on a file with the command line
Shouldn't cc1 reject these options?