[ooc-compiler] Foreign module compilation
Brought to you by:
mva
|
From: Frank H. <fh...@ph...> - 2004-05-27 12:45:23
|
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 oo2c -M SerialIF.Mod from this directory results in gcc: cannot specify -o with -c or -S and multiple compilations 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? (My platform: Win32/MinGW; oo2c: 2.1.1) ----------------------------------------------------------- Frank Hrebabetzky Tel.: +55/48/239-2258 Photonita Ltda Fax: +55/48/239-2200 Parque Tec. Alfa - Ed. CELTA Florianopolis, SC 88030-000 Brasil -- ----------------------------------------------------------- Frank Hrebabetzky Tel.: +55/48/239-2258 Photonita Ltda Fax: +55/48/239-2200 Parque Tec. Alfa - Ed. CELTA email: fh...@ph... Florianopolis, SC WWW: www.photonita.com.br 88030-000 Brasil |