|
From: Greg C. <chi...@mi...> - 2003-05-23 19:27:06
|
Dave Lawrence wrote: > > The visual c++ compiler has a flag -Fo<file> to name the object file. > When I use msys/mingw to compile, it doesn't work for certain > filenames. For example: If you're using mingw gcc, try '-o filename' instead of '-Fo filename'. But these examples don't seem to use gcc. > $ cl -c -Fo/h/dgl/tmp/hello.obj hello.c > fails with this error: > fatal error C1083: Cannot open compiler generated file: > '/h/dgl/tmp/hello.obj': No s > uch file or directory 'cl' would be the msvc compiler. Looks like it doesn't understand posix pathnames. I've used some borland tools with gnu make by writing an auxiliary program that accepts gcc-like arguments and invokes the tool with the kind of arguments it requires--like filenames with backslashes. |