globals in libraries
Doug Gwyn
gwyn at smoke.ARPA
Sat Oct 8 06:44:28 AEST 1988
In article <167 at libove.UUCP> root at libove.UUCP (Jay M. Libove) writes:
>[ I know that this is a Sys5 _feature_ and not a bug, but it is of concern
> to the Sys5 audience in general as well as the Xenix audience... ]
>It seems that Xenix, and indeed Sys5 in general, are unwilling (in their
>default "ar"chiver/library-manager) to store globals in a library as such:
To the contrary, UNIX System V does NOT have the bug you report.
Your problem stems from some port of what is apparently an old
(pre-System V) version of PCC and the Berkeley linker suite.
The "int argle;" is supposed to generate a .data, not a .lcomm,
and System V doesn't even have "ranlib".
Complain to your compiler vendor.
More information about the Comp.bugs.sys5
mailing list