Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Redirecting CPP and LINK32 in MSDEV 6.0 to another compiler.

Reply
Thread Tools

Redirecting CPP and LINK32 in MSDEV 6.0 to another compiler.

 
 
Shawn Campbell
Guest
Posts: n/a
 
      05-21-2004
Here's my situation!

I'm automating the building of Visual Studio projects/workspaces
running MSDEV from the command line like:

MSDEV.EXE foobar.dsw /MAKE "Config1 - Win32 Release" /USEENV

This works fine, but now I want to introduce BoundChecker into the
picture and build using their NMCL.EXE and NMLINK.EXE in place of the
CL.EXE and LINK.EXE that comes with Visual Studio 6.0.

Compuware support states that it needs to be done by exporting the
projects to makefiles and then using NMAKE passing in CPP=NMCL.EXE and
LINK32=NMLINK.EXE. Or to build using MSDEV and workspaces I need to
create macros that invoke the BoundsChecker build methods from the
macros. Either solution is not desireable in my case.

Seeing that all I really need to do is trick MSDEV into building with
NMCL.EXE and NMLINK.EXE, is there any way I can refine the CPP and
LINK32 macros that MSDEV uses? I noticed under REGEDIT that these
macros are defined and I tried changing them to point to NMCL.EXE and
NMLINK.EXE, but this did not seem to work. It tried using NMCL.EXE,
but gave me an error trying to compile with it. Maybe I missed some
other reg key, but I was hoping that would work. I also tried
renaming NMCL.EXE to CL.EXE and placing a copy in the bin folder, but
this did not work either.

Thanks for any help!

-Shawn Campbell
 
Reply With Quote
 
 
 
 
Victor Bazarov
Guest
Posts: n/a
 
      05-21-2004
Shawn Campbell wrote:
> Here's my situation!
>
> I'm automating the building of Visual Studio projects/workspaces
> running MSDEV from the command line like:
> [...]


Wrong newsgroup. Try microsoft.public.vc.ide_general

Victor
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Free online test in C, CPP / Placement papers / CPP,C Interview Questions www.hitechskill.com C++ 0 04-09-2006 10:53 AM
when i compile the cpp file(cmdargs.cpp) int main(int argc, wchar_t* argv[]) Vinu C++ 9 05-05-2005 04:11 AM
Method inlined in source1.cpp and called in source2.cpp Alex Vinokur C++ 7 11-15-2004 09:14 PM
What is better /standard for creating files. a cpp file with header or cpp and seperate file for header DrUg13 C++ 1 02-10-2004 09:20 AM
Pointers to non-static member functions, compiles with MSDEV, but not with GCC John Doe C++ 9 10-23-2003 10:01 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57