Thanks! This is exactly what I needed. The link map was easy to figure out
on my own, but I couldn’t figure out how to get the the assembly listings
into the proper dirctory.
BTW: For anyone else that needs this, the $O/ is case sensitive, you must
use upper case and the trailing / is required otherwise you create a single
.ASM file called i386.asm
Thanks again,
Dan
-----Original Message-----
From: Thierry Gouraud [mailto:xxxxx@bull.net]
Sent: Wednesday, March 13, 2002 3:44 AM
To: NT Developers Interest List
Subject: [ntdev] Re: BUILD question. How to get list and map files
I am using:
USER_C_FLAGS=$(USER_C_FLAGS) /FAcs /Fa$O/
LINKER_FLAGS=$(LINKER_FLAGS) /MAP /MAPINFO:LINES
$O will expand to the object directory (objXYZ\i386).
Hope this helps
Thierry
“Sullivan, Daniel” wrote:
I looked at this option and got only a partially successful result. Adding
/Fa generates source listing files in the same directory as the C files.
Is
there a way to have them put in the objXYZ\i386 directory with all the
other
output files.
Thanks
Dan
-----Original Message-----
From: xxxxx@seagate.com [mailto:xxxxx@seagate.com]
Sent: Tuesday, March 12, 2002 12:51 PM
To: NT Developers Interest List
Subject: [ntdev] Re: BUILD question. How to get list and map files
It’s been a long time since I needed to do that, but the way to do it is
to
ask cl.exe for help, which will give you the command line option you need
to pass to it. Then that option into your C_DEFINES or USER_C_FLAGS macro
in your sources. I can’t remember if you need to do the same for the
linker, there is a macro for that, too.
Phil
xxxxx@xxxxx@lists.osr.com on 03/12/2002 10:13:42 AM
Please respond to “NT Developers Interest List”
>
> Sent by: xxxxx@lists.osr.com
>
> To: “NT Developers Interest List”
> cc:
>
> Subject: [ntdev] BUILD question. How to get list and map files
>
> I want to generate assembly language list files and map files for my
> driver using the build facility. I’ve looked at the documentation pretty
> carefully, yet I’;m still stumped. Even the latest docs on this site don’t
> seem to have the instructions for doing this.
>
> Can anyone help? Thanks
> Dan
>
>
—
You are currently subscribed to ntdev as: xxxxx@emulex.com
To unsubscribe send a blank email to %%email.unsub%%