Hi @all!
I really like C::B, especially for the amount of C-Compilers that are supported (I use it with VC, Borland, MinGW and I'm starting to use Watcom).
There are some problems that seem to be surely bugs in C::B:
1. Compile with more than one "processes for parallel builds" (Settings -> Compiler Settings -> Other) is broken, results in
Error: Unable to open temporary file "__wcl__.lnk" - Permission denied
on compiling on the 2nd/3rd,... process.
The problem lies in the linker, according to
Open Watcom Toolsthere is a linker option
fd[=<directive_file>] keep directive file and, optionally, rename it (default name is "__WCL__.LNK").
if it is not used, the standard file is used two/three/more times which won't work. It could be a good idea to set the file to
name of source.lnk and delete it after the file is built.
Temporary Workaround: use no parallel build
2a. Linking - Path of Linker Search directories should be used in double quotes. Currently it's taken as it is written in Compiler Options (one could add the quotes there by hand) but it wouldn't harm if these are always passed to the linker in double quotes. If the Watcom directory contains spaces double quotes have to be used. This is used currently,
wlink.exe option quiet system nt_dll debug all LIBP D:\Some Progs\Watcom\lib386;D:\Some Progs\Watcom\lib386\nt name [...]
, better would be
wlink.exe option quiet system nt_dll debug all LIBP "D:\Some Progs\Watcom\lib386";"D:\Some Progs\Watcom\lib386\nt" name [...]
Temporary Workaround: Use 8.3 names or add double quotes by hand or don't use spaces in the paths
2b. Linking - Path of obj file names cannot contain space names (because of wrong used quotes)
Currently double quotes are used but this result in
Error! E3033: directive error near ...
. Everything after the word "file" has to be in single quotes, not double ones (I know, this is really weird, but that's the way it is).
Temporary Workaround: Use 8.3 names or don't use spaces in the paths
It would be nice if these points could be fixed - especially the first one.
Thank you!