Subject: Re: CVS commit: syssrc/sys
To: None <thorpej@wasabisystems.com>
From: None <eeh@netbsd.org>
List: source-changes
Date: 05/03/2002 21:44:00
| On Fri, May 03, 2002 at 06:00:15PM -0000, eeh@netbsd.org wrote:
|
|  > No, it isn't the wrong way to do this.  This information is needed by 
|  > assembly routines to be sure they match the compiler generated code.
|  > If you have the compiler define this you can get a mismatch between
|  > assembly routines and C routines.
|
| Our assembly routines are processed by the C preprocessor (obviously
| they are, since you are TESTING for _LP64 being defined).  Therefore,
| if you supply the correct arguments when assembling .S files, _LP64
| will be defined, and the right thing will happen.

What happens when you try that with a 64-bit compiler and the -m32 flag?

Eduardo