Re: [ooc-compiler] Foreign module compilation
Brought to you by:
mva
|
From: Michael v. A. <Mic...@de...> - 2004-05-27 17:23:58
|
Frank Hrebabetzky <fh...@ph...> writes: > Tim Teulings wrote: > > So you try to use your FOREIGN module as application main module? > > Possibly oo2c canot handle it. Try to make a separate, "normal" > > module that imports your FOREIGn module and use that as program > > module. > > Did that and reduced all files to a minimum. Now my actual directory > contains an executable module test.Mod which imports the foreign > module Serial.Mod, the implementation of which is Serial.c: > [...] > gcc -O2 -I/usr/local/include -DGC_WIN32_THREADS > -I/usr/local/lib/oo2c/src -Iobj -I/usr/local/lib/oo2c/obj > -c /Documents and Settings/Frank/Documents/Test/Serial.c > -o obj/Serial.o > gcc: cannot specify -o with -c or -S and multiple compilations The shell commands generated by oo2c do not quote arguments with spaces. The effect is that gcc sees a garbled command line. This is a known problem. Please use a working directory without any spaces in its path. -- mva |