You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by Martin Sebor <se...@roguewave.com> on 2005/12/21 22:07:10 UTC

Intel C++ command line

When compiling and linking with Intel C++ I see a few command line
options and arguments that we shouldn't be using. Here they are:

   /D "_RWBUILD_std"

This one is a vestige of the Rogue Wave build infrastructure and
shouldn't be used.

   /D "_MBCS"

This one is probably unnecessary (we don't use it internally).
Anton, did you have a specific reason for putting it there?

   /Qmultibyte-chars
   /Qvc7.1

AFAICS, these are not documented so we shouldn't be using them.

With the exception of user32.lib all system libraries on the link
line can be dropped.

In addition, I see we pass these options to the linker:

   /INCREMENTAL:NO

Shouldn't we enable incremental linking?

   /TLBID:1

According to the documentation, /TLBID:1 is the default. It should
be safe to avoid specifying this option.

   /SUBSYSTEM:CONSOLE

Again, this is the default so we can drop it.

   /MACHINE:X86

The documentation says we usually don't need to specify this so
I suggest we take it out.

Martin