It seems that different compilers influence one another in CB.
Using the following setup :
1) MingW GCC (3.4.4)
2) MsVC ToolKit 2003
3) Digital Mars
Attached is a project that creates a simple library, just one stupid file in it.
When you remove Digital Mars target, you can build both the default (with gnu compiler) and the MsVC (with M$ compiler) targets. No problem at all. Rebuild through all targets, or each target independently, everything is ok.
The moment you add the dm target (using digital mars), the M$ VC is broken. It seems that Digital Mars settings already have been applied, though it's not Dm's turn yet.
This is the error output during the M$VC target being build :
-------------- Build: MsVc in Lib1 ---------------
sample.cpp
Linking static library: MsVc\libLib1.a
OPTLINK (R) for Win32 Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved
OPTLINK : Warning 9: Unknown Option : LIB
OPTLINK : Warning 9: Unknown Option : LIBPATH
OPTLINK : Warning 9: Unknown Option : OUT
:C:\Program Files\Microsoft Visual C.obj
Error 2: File Not Found :C:\Program Files\Microsoft Visual C.obj
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
for some reason the Digital Mars programs are running 'or found or mounted or ..' when it should be the M$ programs. Could it be the paths ?? My normal PATH only contains C:\Ming\bin and none of the others. Off course CB adds some, maybe to many too early ??
Lieven
PS : there's seems to be also a problem with the linking step of digital mars, will look into that later.
[attachment deleted by admin]