Re: [ooc-compiler] Foreign module compilation
Brought to you by:
mva
|
From: Frank H. <fh...@ph...> - 2004-05-27 20:53:14
|
Michael van Acken wrote: > 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. My empty foreign module "Serial" compiles now, thanks. Next question: Serial.Mod contains a global variable, "VAR erc*: INTEGER" which shall receive an error code. The only similar thing I found in the corresponding c file is "OOC_INT16 Serial__erc". If I don't touch it, everything goes well. When I assign it a value, I get a 'parse error before "=" token'. So how can I assign a value to an exported variable? ----------------------------------------------------------- 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 |