www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - CL translation needs to support /TP

↑ ↓ ← 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
↑ ↓ → 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