pre-processor output

How can I get the pre-processor output with the “build -cz” command. I know that cl compiler with the /E option should help … but I am not sure what all options are being used by cl?. Is there a way to get “build” to show what cl is using ?

Thanks
-Johnny


Chat with friends online, try MSN Messenger: Click Here

All you need to do is add the following to your sources file:

USER_C_FLAGS=/E


Mark Cariddi
Open Systems Resources, Inc.
www.osr.com

“Johnny D” wrote in message news:xxxxx@ntdev…
How can I get the pre-processor output with the “build -cz” command. I know
that cl compiler with the /E option should help … but I am not sure what
all options are being used by cl?. Is there a way to get “build” to show
what cl is using ?

Thanks
-Johnny

Chat with friends online, try MSN Messenger: Click Here

BUILD.LOG contains the full CL command lines.
Study MAKEFILE.DEF to understand how SOURCES keywords are mapped to CL command line.

Max

----- Original Message -----
From: Johnny D
To: NT Developers Interest List
Sent: Friday, April 19, 2002 10:28 AM
Subject: [ntdev] pre-processor output

How can I get the pre-processor output with the “build -cz” command. I know that cl compiler with the /E option should help … but I am not sure what all options are being used by cl?. Is there a way to get “build” to show what cl is using ?

Thanks
-Johnny


Chat with friends online, try MSN Messenger: Click Here

You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to %%email.unsub%%

Try ‘nmake xyz.pp’ to get the preprocessed version of xyz.c and ‘nmake
xyz.cod’ to get the assembler output for xyz.c.

/George V. Reilly mailto:xxxxx@microsoft.com
Internet Information Server / http.sys Developer

-----Original Message-----
From: Mark J. Cariddi [mailto:xxxxx@osr.com]
Sent: Friday, April 19, 2002 4:45 AM
To: NT Developers Interest List
Subject: [ntdev] Re: pre-processor output

All you need to do is add the following to your sources file:

USER_C_FLAGS=/E


Mark Cariddi
Open Systems Resources, Inc.
www.osr.com

“Johnny D” wrote in message news:xxxxx@ntdev…
How can I get the pre-processor output with the “build -cz” command. I
know that cl compiler with the /E option should help … but I am not
sure what all options are being used by cl?. Is there a way to get
“build” to show what cl is using ?

Thanks
-Johnny

Chat with friends online, try MSN Messenger: Click Here


You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to %%email.unsub%%

>“George Reilly” wrote in message
news:xxxxx@ntdev…
>
>Try ‘nmake xyz.pp’ to get the preprocessed version of xyz.c and ‘nmake
>xyz.cod’ to get the assembler output for xyz.c.
>

That’s pretty cool, George. I didn’t know that…

Ah, the wonder of makefile.def

Thanks to all the people who replied!

-Johnny

From: “Maxim S. Shatskih”

>Reply-To: “NT Developers Interest List”
>To: “NT Developers Interest List”
>Subject: [ntdev] Re: pre-processor output
>Date: Fri, 19 Apr 2002 18:31:02 +0400
>
>BUILD.LOG contains the full CL command lines.
>Study MAKEFILE.DEF to understand how SOURCES keywords are mapped to CL command line.
>
> Max
>
> ----- Original Message -----
> From: Johnny D
> To: NT Developers Interest List
> Sent: Friday, April 19, 2002 10:28 AM
> Subject: [ntdev] pre-processor output
>
>
> How can I get the pre-processor output with the “build -cz” command. I know that cl compiler with the /E option should help … but I am not sure what all options are being used by cl?. Is there a way to get “build” to show what cl is using ?
>
>
> Thanks
> -Johnny
>
>
>------------------------------------------------------------------------------
> Chat with friends online, try MSN Messenger: Click Here
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>
>
>—
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to %%email.unsub%%


Join the world’s largest e-mail service with MSN Hotmail. Click Here