Building shared objects with GP

Adriaan van Os gpc at microbizz.nl
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.

Regards,

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: <http://www.g-n-u.de/pipermail/gpc/attachments/20080213/68caec5b/attachment.obj>


More information about the Gpc mailing list