On Sun, Oct 15, 2000 at 05:39:24AM +0200, Richard Levitte - VMS Whacker wrote:
> From: Albert Chin-A-Young <[EMAIL PROTECTED]>
>
> china> Both. There's also a '+forceload' option to replace -Fl under 11.00
> china> for 64-bit binaries (dunno if -Fl works for 64-bit binaries under
> china> 11.00).
>
> OK.
>
> One last question: I want to remember that the HP-UX ANSI C compiler
> needs -KPIC to create position independent code, is that correct? I
> know that it's -fPIC with GNU C.
It's +Z. From cc(1):
+z,+Z Both of these options cause the compiler to generate
position independent code (PIC) for use in building
shared libraries. The -G and -p options are ignored if
+z or +Z is used. Normally, +z should be used to
generate PIC; however, when certain limits are
exceeded, +Z is required to generate PIC. The ld
linker issues the error indicating when +Z is required.
If both +z and +Z are specified, only the last one
encountered applies. For a more complete discussion
regarding PIC and these options, see HP-UX Linker and
Libraries Online User's Guide and the manual
Programming on HP-UX.
--
albert chin ([EMAIL PROTECTED])
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]