www.digitalmars.com         C & C++   DMDScript  

c++ - CL translation needs to support /TP

reply Berin Loritsch <bloritsch d-haven.org> writes:
The "cl" command that translates calls to Microsoft Visual C compiler 
needs to add some support for additional switches.

One in particular is the "/TP" which is identical in function to "/Tp" 
which is already supported.  The reason is for tools like SCons who use 
that switch.

I also noticed that the /I directives were not being translated to -I 
like the dmc tool likes.  Is there any reason for alarm?
May 18 2005
parent Berin Loritsch <bloritsch d-haven.org> writes:
Berin Loritsch wrote:
 The "cl" command that translates calls to Microsoft Visual C compiler 
 needs to add some support for additional switches.
 
 One in particular is the "/TP" which is identical in function to "/Tp" 
 which is already supported.  The reason is for tools like SCons who use 
 that switch.
 
 I also noticed that the /I directives were not being translated to -I 
 like the dmc tool likes.  Is there any reason for alarm?

BTW, the MSDN article with all the compiler options is at this location: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_compiler_options_listed_by_category.asp Some of them map directly to DMC options such as: /GR to -Ar Also, some things should always be on for C++ compilation if we are using a translation from "cl" to "dmc" such as: -Ae -Ab -Aw (all of these are defaults in the current "cl" file from Microsoft)
May 18 2005