#IFDEFs in a multi platform environment
From: JF Mezei (jfmezei.spamnot_at_teksavvy.com)
Date: 09/30/04
- Next message: JF Mezei: "Re: HP admits discontinued IA64 workstations"
- Previous message: dooley: "Re: *.CDD file for CONNX"
- Next in thread: Fred Kleinsorge: "Re: #IFDEFs in a multi platform environment"
- Reply: Fred Kleinsorge: "Re: #IFDEFs in a multi platform environment"
- Maybe reply: Stanley F. Quayle: "Re: #IFDEFs in a multi platform environment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 30 Sep 2004 04:12:17 -0400
Someone on the OSU mailing list reported that by defining __ALPHA to compile
the OSU software on that IA64 thing, the C compiler generated some errors.
This got me to think: With VMS likely to exist on VAX, Alpha, IA64 and AMD64,
would it be better for applications to use __VMS32 and __VMS64 instead of
platform specific names such as __VAX and __ALPHA?
This way, they would be independant from C compiler specific definitions, and
one woudln't actually have to make changes to programs that run on any of the
64 bit platforms VMS may be called to run on.
Deep down kernel stuff can still make use of platform specific ifdefs when
necessary, but normal user mode applications wouldn't need any modifications
and addition of more ifdefs for each platform.
- Next message: JF Mezei: "Re: HP admits discontinued IA64 workstations"
- Previous message: dooley: "Re: *.CDD file for CONNX"
- Next in thread: Fred Kleinsorge: "Re: #IFDEFs in a multi platform environment"
- Reply: Fred Kleinsorge: "Re: #IFDEFs in a multi platform environment"
- Maybe reply: Stanley F. Quayle: "Re: #IFDEFs in a multi platform environment"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|