Re: Compiler opt
On Sat, 2004-08-28 at 15:05 -0500, Ron Johnson wrote:
> On Sat, 2004-08-28 at 11:55 -0700, Karl Hegbloom wrote:
> > Ok. So then -m64 implies -march=k8 ?
> It looks like you need to reverse that. -march=k8 implies -m64.
> From rom "man gcc-3.4":
Ah - Hah! I looked at 'info gcc', not 'info gcc-3.4' or 'man gcc-3.4'.
> Generate code for a 32-bit or 64-bit environ-
> ment. The 32-bit environment sets int, long and
> pointer to 32 bits and generates code that runs
> on any i386 system. The 64-bit environment sets
> int to 32 bits and long and pointer to 64 bits
> and generates code for AMD's x86-64 architec-
Here's the bug. It does not tell me, explicitly enough, whether or not
-m64 implies -march=k8 or not. It seems to, but I'm not sure, since
perhaps -march=k8 could be incompatible with the em64t. I think that
the documentation should be a little more clear here.