On Feb 12, 2008, at 8:16 AM, Pascal Viandier wrote:
Hi GPC crew,
I am trying to build shared objects with gp on SUN Sparc Solaris 10 using gpc 20070904 based on gcc-4.1.2.
I tried many options of gp with no success. It looks like gp does not pass the --shared and -fPIC command line options to gpc so it produces only regular objects.
So, is there a way to benefit from gp's great features to generate shared objects?
Have you tried using gp's --Pascal=OPTION parameter form to tell gp to pass the --shared and -fPIC options onto each invocation of gpc?
Gale Paeper gpaeper@empirenet.com