Building shared objects with GP

Adriaan van Os gpc at
Wed Feb 13 09:56:56 CET 2008

Pascal Viandier wrote:
> <snip>
>> What's the output of gp with -v ?
> <snip>
>  /usr/ccs/bin/as -V -Qy -s -K PIC -xarch=v8 -o
> /mnt/gnu-port/tests/mod1.o /var/tmp//cc4gbJkN.s
> /usr/ccs/bin/as: Sun Compiler Common 10 Patch 05/06/2005
> gp: warning: ignoring `-o' when not linking

Hm, could the problem be that no linking is occuring ? I think that's the default for gp when 
compiling a unit into a shared library. I have a patch for gp that adds --compile-and-link. When 
passing that option, linking will occur.


Adriaan van Os
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gp-0.61.diff.bz2
Type: application/octet-stream
Size: 3458 bytes
Desc: not available
URL: <>

More information about the Gpc mailing list