Re: C++\CLI Compiler /nostdlib option?

Chris Donovan <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.cx
Message-ID <001801c6d15f$c39d92e0$6501a8c0@chris9150>
Thanks for the suggestion, but we had found that option earlier.
Unfortunately, the /NODEFAULTLIB linker option doesn't allow you to specify
which mscorlib.dll you want to reference for metadata during the compile
stage.  Also, in case I didn't make it clear before, we are trying to do
both the compile and the link from the command-line, not from within Visual
Studio.

Chris

-----Original Message-----
From: Discussion relating to the specifics of the C# and Managed C++
languages [mailto:[email protected]] On Behalf Of Ivanoff, Alex
Sent: Tuesday, September 05, 2006 5:08 PM
To: [email protected]
Subject: Re: [DOTNET-CX] C++\CLI Compiler /nostdlib option?

Project Settings -> Configuration -> Linker -> Input either "Ignore All
Default Libraries" or "Ignore Specific Library".


-----Original Message-----
From: Discussion relating to the specifics of the C# and Managed C++
languages [mailto:[email protected]] On Behalf Of Christopher
Donovan
Sent: Tuesday, September 05, 2006 16:42
To: [email protected]
Subject: [DOTNET-CX] C++\CLI Compiler /nostdlib option?

Is there any command line argument in Microsoft's C++/CLI compiler that
prevents the compiler from looking for mscorlib.dll in:

        c:\windows\microsoft.net\framework\v2.0.50727\

Our build environment requires that all builds be consistent and
reproducible.  This means that there should be as little reliance as
possible on the configuration of the particular machine used to build the
software.  We require all components referenced during the build process to
come from a single shared location, not from the user's local hard drive.

C# and VB both provide the "/nostdlib" command line argument but I can not
find anything similar in C++/CLI.

Any thoughts?

===================================
This list is hosted by DevelopMentorR  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor.  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.