Generating shared objects with gpc

Pascal Viandier pviandie at accovia.com
Fri Oct 12 22:22:39 CEST 2007


Hi gpc crew,

Is there a way to generate a shared object (.so) under unix with gpc?
I found nothing about this in GPC documentation.
I tried "gpc --automake -o foo.so foo.pas" on the command line (foo.pas
being a module)
This does not work: I get an error about an undefined reference to
'main'

Is it possible at all to generate a shared object with gpc?
Does someone have any clue?

Regards

Pascal Viandier






More information about the Gpc mailing list