Changing compilers temporarily?

Chris Tavares <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.rotor
Message-ID <[email protected]>
Hi all. I've got a question about the Rotor build system.

I'm trying to use the Compuware DevPartner profiler to do some timing tests.
In order to do that, I need to compile with their compiler NMCL, which is a
wrapper around CL.exe, and link with NMLINK instead of LINK.EXE.

In digging through the maze that is build.exe and all the makefiles, I
*think* all I need to do is set the following enviroment variables:

set CC_NAME=nmcl
set LINKER=nmlink

But when I do that, I get this error log:


nmlink -out:C:\Home\Chris\Projects\Rotor\src\sscli\clr\bin\rotor_x86\checked
\rotor_pal.dll -machine:i386 @C:\DOCUME~1\chris\LOCALS~1\Temp\nm330.tmp
Compuware Linker Driver v7.1.0.2892
Copyright (c) 1997, 2002 Compuware Corporation. All rights reserved.

Microsoft (R) Incremental Linker Version 7.00.9466
Copyright (C) Microsoft Corporation.  All rights reserved.

"C:\Program Files\Compuware\DevPartner Studio\Analysis\\TTCORE.LIB"
/incremental:no
-MERGE:.rtc=.text
-STACK:262144,4096
-MERGE:_PAGE=PAGE
-MERGE:_TEXT=.text
-SECTION:INIT,d
-OPT:NOREF
-IGNORE:4001,4037,4039,4065,4070,4078,4087,4089
-NODEFAULTLIB
-debug:FULL
-version:5.00
-osversion:5.00
-MERGE:.rdata=.text
-dll
-base:@C:\Home\Chris\Projects\Rotor\src\sscli\clr\bin\rotor_x86\checked\coff
base.txt,rotor_pal
-subsystem:windows,4.00
-entry:DllMain@12
C:\Home\Chris\Projects\Rotor\src\sscli\clr\bin\rotor_x86\checked\rotor_pal.e
xp
objd\rotor_x86\rotor_pal.res
objd\rotor_x86\exception.obj
objd\rotor_x86\verifythread.obj
objd\rotor_x86\win32pal.obj
C:\PROGRA~1\MICROS~1.NET\Vc7\lib\msvcrtd.lib
C:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\lib\kernel32.lib
C:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\lib\ole32.lib
C:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\lib\ws2_32.lib
C:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\lib\user32.lib
C:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\lib\user32.lib
C:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\lib\kernel32.lib
C:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\lib\gdi32.lib
C:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\lib\ole32.lib
C:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\lib\oleaut32.lib
C:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\lib\uuid.lib
C:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\lib\advapi32.lib
C:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\lib\rpcndr.lib
C:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\lib\rpcrt4.lib
C:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\lib\rpcns4.lib
C:\PROGRA~1\MICROS~1.NET\Vc7\PlatformSDK\lib\comctl32.lib
C:\PROGRA~1\MICROS~1.NET\Vc7\lib\msvcrtd.lib
LINK : fatal error LNK1104: cannot open file
'C:\Home\Chris\Projects\Rotor\src\sscli\clr\bin\rotor_x86\checked\coffbase.t
xt'
NMAKE : fatal error U1077: 'nmlink' : return code '0x450'
Stop.

So where did coffbase.txt go? Where did it come from? Is there some other
environment variable I need to tweak too?

Thanks for any help!

-Chris

===================================
This list is hosted by DevelopMentor®  http://www.develop.com
NEW! ASP.NET courses you may be interested in:

2 Days of ASP.NET, 29 Sept 2003, in Redmond
http://www.develop.com/courses/2daspdotnet

Guerrilla ASP.NET, 13 Oct 2003, in Boston
http://www.develop.com/courses/gaspdotnet

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.