This project is read-only.

Build Error with MS XP/2 Base

Mar 11, 2008 at 6:04 PM
Has anyone seen this error or have any feedback as to what could be causing this (see errors below).

Target BuildNativeSources:
XXX /nologo /W3 /WX /Gy /Zi /O2 /Oy- /GS- /DSINGULARITY=1 /Gr /IC:\MSNew\base.obj\Prototype.x86.MarkSweep /IC:\MSNew\base\boot\include /DSINGULARITY_PROCESS=1 /IC:\MSNew\base.obj\AppRuntimeNative\Prototype.x86.MarkSweep /IC:\MSNew\base\Kernel\Native /FdC:\MSNew\base.obj\AppRuntimeNative\Prototype.x86.MarkSweep\native.pdb /FoC:\MSNew\base.obj\AppRuntimeNative\Prototype.x86.MarkSweep\hal.obj /c C:\MSNew\base\Kernel\Native\hal.cpp
'XXX' is not recognized as an internal or external command,
operable program or batch file.
C:\MSNew\base\Applications\Runtime\Corlib.Native.proj(170,5): error MSB3073: The command "XXX /nologo /W3 /WX /Gy /Zi /O2 /Oy- /GS- /DSINGULARITY=1 /Gr /IC:\MSNew\base.obj\Prototype.x86.MarkSweep /IC:\MSNew\base\boot\include /DSINGULARITY_PROCESS=1 /IC:\MSNew\base.obj\AppRuntimeNative\Prototype.x86.MarkSweep /IC:\MSNew\base\Kernel\Native /FdC:\MSNew\base.obj\AppRuntimeNative\Prototype.x86.MarkSweep\native.pdb /FoC:\MSNew\base.obj\AppRuntimeNative\Prototype.x86.MarkSweep\hal.obj /c C:\MSNew\base\Kernel\Native\hal.cpp " exited with code 9009.
Done building target "BuildNativeSources" in project "Corlib.Native.proj" -- FAILED.

Done building project "Corlib.Native.proj" -- FAILED.
Mar 12, 2008 at 1:18 AM
Edited Mar 12, 2008 at 1:19 AM
One potential issue is the environment variable CC. The build system will use a default value if the environment variable is not defined (See %SINGULARITY_ROOT%\Targets\Path.targets).

Try reproing the issue in a cmd shell, and then typing:

set | find "XXX"

If CC is defined, undefine it using:

set CC=

Also check none of the other tools related variables are unintentionally set in the environment (CSC, SGC, CC, AS, ILASM, ILDASM, LIB, LINK, NIB, BARTOK).

Mar 13, 2008 at 2:55 PM
Thanks - clearing this variable CC enable me to get a clean 'build'.