I downloaded the file `dsp2mak.awk' a while back and am now trying to use
it to convert a MSVStudio Project file to a gcc-compatible makefile. Thus,
this IS an on-topic query ;-). I am trying to build a C++ dll written for
MSVC under minGW.
I am stumped because it appears that there is a type of switch the awk
script didn't parse. It is where the Project file uses contructs like this:
(that is, a slash followed by `Y' followed by either `u' or `c' followed by a
The output from the awk script simply left these intact.
Can anybody with some knowledge of the arcane workings of MSC tell me
(us) what this switch is supposed to do, so that I can add it to the awk script
(or recommend to the author that he do so)?
BTW, if the documentation that would help me with this is part of the MS
PDK package, please don't just refer me to that as if I am a lazy cretin. I
have tried unsuccessfully 3 times to finish a download / install of the PDK
but it stalls (it IS MS software engineering, after all!) each time. (So please,
give me your copy of the PDK or give me specific help on these compiler
switch issues, just don't be a scolding tight-ass but give nothing. Thanks.)
The DLL I am trying to compile adds a shell extension to Windows Explorer
that allows quick copying of the Path Specification for any file to the
Windows Clipboard -- in POSIX format if you want. Sound handy to anyone
here? I would think so! The package is called "CopyPathExt".
Thanks, Happy New Year to all.
From: Neil Hodgson <nhodgson@bi...> - 2000-12-31 21:49:50
> I am stumped because it appears that there is a type of switch the awk
> script didn't parse. It is where the Project file uses contructs like
These are precompiled header options:
/Yc[file] create .PCH file
/Yu[file] use .PCH file
They are just for speeding up the compiler and have no effect on the
output of the compiler. The conversion script should be modified to delete
> ... (So please,
> give me your copy of the PDK or give me specific help on these compiler
> switch issues, just don't be a scolding tight-ass but give nothing.
:) You just gotta download the .NET SDK which is 111 Megs but does
include a free beta of the next version of the Microsoft C++ compiler. Then
"cl /?" will tell you what the compiler switches mean.