Re: [ooc-compiler] Foreign module compilation
Brought to you by:
mva
|
From: Tim T. <Tim...@ma...> - 2004-05-27 13:06:31
|
Hallo!
> I followed the steps for creating a Foreign module as described in
> OOCRef, except the last one, so the procedure bodies of the C file are
> still empty. Mod and C file (SerialIF.Mod, SerialIF.c) are in the same
> directory. Exection of
>=20
> oo2c -M SerialIF.Mod
>=20
> from this directory results in
>=20
> gcc: cannot specify -o with -c or -S and multiple compilations
>=20
> So: What options do I have to call oo2c with? Or do I have to compile
> the C file first with gcc? With what options?
So you try to use your FOREIGN module as application main module?=20
Possibly oo2c canot handle it. Try to make a separate, "normal" module=20
that imports your FOREIGn module and use that as program module.
--=20
Gru=DF...
Tim.
|