2-Mar-00 10:55 you wrote:
Greetings,
I have some statistical programs that I would like to release under GPL. They were originally written in Borland Pascal and Speed Pascal (the latter is a borland-like pascal for OS/2), and all the code compiles and runs fine using those two compilers. Now I am trying to get everything to compile and run under gpc, so that the code will be useful to more people. It looks like I'll have a lot of questions along the way, and I'd appreciate any help that can be provided.
I'm using a version of gpc that I installed as a binary from the file gpc-19990118_i386-pc-emx0_9d.zip
I can compile and run little test programs that use no units, or that use only type definitions from units, but I get "undefined symbol" messages if the main program refers to any variables or procedures defined in the interface part of the unit.
Try to use more current version of GPC (alpha, of course). LOTS of such unit-specific problems were fixed in more current versions... At least your sample compiles fine here :-)
Not know how to compile GPC under OS/2 (I'm using Linux).