I was able to get OpenSSL to compile on Darwin (OS-X for PowerPC) with the
following changes:

        1) Start with the linux-ppc as your base.

        2) Change -DTERMIO to -DTERMIOS

        3) In every case where gmtime_r is used, change the conditional logic to
use gmtime. You can do this with a '-DOSX' in the target and adding
'|| defined(OSX)' into the logic in each case where gmtime_r or gmtime is
used.

        4) You must run 'ranlib' on each .a file before you link with it.
Otherwise, the linker will fail.

        5) Use 'cc' instead of 'gcc'.

        I don't know enough about how OpenSSL's target selection logic works to
automate this and submit patches, sorry.

        David Schwartz
        WebMaster Incorporated
        <[EMAIL PROTECTED]>

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

Reply via email to