Please please please forget about that allextract nonsense. You will*never*
get it portable to all desired platforms. Just take the lib*.a and relink it
explicitly:
        mkdir tmp; cd tmp; ar x ../libcrypto.a; ld -r -o ../libcrypto.o *.o
        ld -G -o libcrypto.so libcrypto.o -l<whatever>

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Richard
> Levitte - VMS
> Whacker
> Sent: Monday, December 16, 2002 11:10 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [CVS] OpenSSL: openssl Makefile.org
>
>
> In message <[EMAIL PROTECTED]> on Mon, 16 Dec
> 2002 19:54:08 +0100, Andy Polyakov <[EMAIL PROTECTED]> said:
>
> appro> Richard, you win but for another reason:-) WorkShop C
> (as well as other
> appro> vendor compiler drivers) does understand -Wl, *but*
> some of thier
> appro> (Sun's) compiler drivers (well, one of those I have)
> collect all -Wl
> appro> options in the beginning of ld command line so that ld
> is invoked as "ld
> appro> -z allextract -z defaultextract ... libcrypto.a ...",
> while idea is
> appro> basically "ld ... -z allextract libcrypto.a -z
> defaultextract ..." Why,
> appro> oh why? A.
>
> Eh god...  So basically, we not only need to detect if GNU ld is used,
> but that it's really GNU cc as well?  What happens if the compiler
> isn't GNU but ld is?
>
> --
> Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
> Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
>                     \      SWEDEN       \ or +46-708-26 53 44
> Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
> Member of the OpenSSL development team: http://www.openssl.org/
>
> Unsolicited commercial email is subject to an archival fee of $400.
> See <http://www.stacken.kth.se/~levitte/mail/> for more info.
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       [EMAIL PROTECTED]
> Automated List Manager
> [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to