NTCPPFLAGS no longer works

With the 2K DDK and earlier I could set compiler flags by setting NTCPPFLAGS
in the “sources” file or as an environment variable. Can anyone tell why
this no longer works with the XP DDK? What should I use in its place?

Thanks,
Ken


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

“Ken Galipeau” wrote in message news:xxxxx@ntfsd…
>With the 2K DDK and earlier I could set compiler flags by setting
NTCPPFLAGS in the “sources” file
> or as an environment variable. Can anyone tell why this no longer works
with the XP DDK? What
> should I use in its place?

To allow different flags for different targets, the spec is now:

xxx_warning_level

xxx_optimization

xxx_STDCALL = 1 use stdcall calling convention
0 use cdecl calling convention

xxx_cppflags

where (directly from makefile.def):

xxx
… is {MSC|386|axp64|alpha|MPPC|ia64|amd64} where MSC
applies to the
C8 compiler
independent of the cpu type. Specific cpu_ will take precedence
over the equivalent MSC_ variable.

I’m sure this’ll bite more than one person. Thanks for mentioning it.

Peter


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I found the environment variable USER_C_FLAGS also works.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Peter Viscarola
Sent: Wednesday, August 01, 2001 5:13 PM
To: File Systems Developers
Subject: [ntfsd] Re: NTCPPFLAGS no longer works

“Ken Galipeau” wrote in message news:xxxxx@ntfsd…
>With the 2K DDK and earlier I could set compiler flags by setting
NTCPPFLAGS in the “sources” file
> or as an environment variable. Can anyone tell why this no longer works
with the XP DDK? What
> should I use in its place?

To allow different flags for different targets, the spec is now:

xxx_warning_level

xxx_optimization

xxx_STDCALL = 1 use stdcall calling convention
0 use cdecl calling convention

xxx_cppflags

where (directly from makefile.def):

xxx
… is {MSC|386|axp64|alpha|MPPC|ia64|amd64} where MSC
applies to the
C8 compiler
independent of the cpu type. Specific cpu_ will take precedence
over the equivalent MSC_ variable.

I’m sure this’ll bite more than one person. Thanks for mentioning it.

Peter


You are currently subscribed to ntfsd as: xxxxx@legato.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com