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: sparc "environments" versus -mcpu=...


On Mon, 7 Jan 2002 lucier@math.purdue.edu 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?

Jeff


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