Ethereal-dev: Re: [Ethereal-dev] Re: How do I get .pdb file under Win32

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Motonori Shindo <mshindo@xxxxxxxxxxx>
Date: Wed, 12 Dec 2001 10:51:16 +0900 (JST)
Guy,

From: Guy Harris <guy@xxxxxxxxxx>
Subject: Re: [Ethereal-dev] Re: How do I get .pdb file under Win32
Date: Tue, 11 Dec 2001 17:37:11 -0800 (PST)

> I've checked in your patch.
> 
> I assume the intent behind:
> 
> > The second issue is that ethereal.pdb, tethereal.pdb, etc. are not
> > created. This problem was introduced when $(guiflags) and $(conflags)
> > were added to a rule for LINK back in March 23, 2001.
> 
> was to get various Microsoft definitions required in order to build
> stuff correctly.
> 
> Those flags *might* differ from version to version of VC++ (or from
> platform to platform), so I'm not sure I'd want to just copy their
> definitions, remove "PDB:NONE", and paste the result into our Makefiles.

That's exactly why I'm hesitating to do so. 

I tried to place /PDB:hoge.pdb "before" and "after" guiflags in
Makefile.nmake hoping that either of them overrides /PDB:NONE, but
none of them worked as I hoped.

I also tried to find a way to manipulate macros in nmake whether I can
trim some string out of it keeping others intact, but there seems not
in nmake. If nmake can do a command substitution (like back-quoting in
UNIX shells), we may be able to use 'sed' to substitute /PDB:NONE to
anything we want. I'll look into that.

Regards,

=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=
 +----+----+     
 |.. .|    |     Motonori Shindo
 |_~__|    |     
 | .. |~~_~|     Sr. Systems Engineer
 | .  |    |     CoSine Communications Inc.
 +----+----+     
 C o S i n e     e-mail:  mshindo@xxxxxxxxxxxxx 
Communications
=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=