473,395 Members | 1,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Redirecting CPP and LINK32 in MSDEV 6.0 to another compiler.

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
Jul 22 '05 #1
1 1945
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
Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: John Doe | last post by:
#include "project.h" class ThatDoesProcessing; typedef int (ThatDoesProcessing::*PFUNC)(int); class ThatDoesProcessing { public:
7
by: jesse | last post by:
#include <string> #include <iostream> template <typename T> class Base { public: Base(){ }; ~Base(){
1
by: Lars Schouw | last post by:
Does any one know what msdev.exe was replaced by since Visual Studio 6.0? Lars
2
by: oguz | last post by:
I am using Visual C++ 6.0 msdev.exe from the command line to build all the projects in a workspace ( .dsw ). The command syntax that I am using is: msdev all.dsw /make "ALL" /REBUILD /OUT ...
1
by: Bilbo | last post by:
Hello, How do I programatically redirect a page in "another frame" using C# in ASP.NET? Server.Transfer redirects the current page...not a different frame. Thanks.
4
by: Greg Smalter | last post by:
Redirecting from page to page within a web project is pretty easy. However, all Redirect methods take strings as arguments, as if you mistype the string, you don't find out until run time that you...
3
by: Bit byte | last post by:
Anyone using CVS with MSDEV? How can I use CVS (my current repository) with VS2003? Did a google search but nothing definitive. Some docu or pointers will be very helpful
8
by: Morpheus | last post by:
I am trying to test a function that outputs text to the standard output, presumably using a cout call. I do not have access to the source, but need to test the output. Is this possible? I can...
41
by: amygdala | last post by:
Hello all, I have posted a similar question in comp.lang.php in the past, but haven't had any response to it then. I kinda swept the problem under the rug since then. But I would really like to...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.