Hello, devteam.

Here are some changes that will allow OpenSSL to compile 
(mostly cleanly) for the VxWorks target; the patch
is attached, and the notes on some changes are below:

==============================================

On several places, a macro called OPENSSL_SYS_VSWORKS
is used; looks like a cun'n'paste propagation of a typo.  
We did some recursive 

s/VSWORKS/VXWORKS/

==============================================
in crypto/conf/conf_def.c:

there is a define conflict for BUFSIZE with VxWorks' version of 
stdio.h

==============================================
in crypto/rand/tmdiff.c

line 68: it appears that we need parentheses to group
!(defined(OPENSSL_SYS_VMS) || defined(__DECC))
so that the MACOSX and VXWORKS later on the line are handled OK
that fixes VXWORKS, no idea what it does to VAX, someone should
test it out.

==============================================
in Makefile.org

would it be possible to have separate target to just build the
libssl and libcrypto, and skip the apps, test and tools?
There must be a better way to do it than this:

libs:
        $(MAKE) DIRS="$(SHLIBDIRS)"

==============================================
in various other Makefiles

gcc incarnations for various targets use a lot of funky compile flags
in the form of "-fthefunkyflag"; this sometimes confuses makedepend,
since it has it's own "-fmakefile" option.  The makedepend man page suggests
enclosing the CFLAGS between double dashes:

$(MAKEDEPEND) -- $(CFLAG) -- $(INCLUDE) $(DEPFLAG) $(PROGS) $(LIBSRC)

==============================================
in Configure script:

- add a couple of new VxWorks targets

===============================================

Cheers,
Zoran Milojevic
SS8 Networks Inc
------
Attachments are virus free!

This message has been scanned for viruses at the originating end by
Nemx Anti-Virus for MS Exchange Server/IMC
        http://www.nemx.com/products/antivirus

  

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

Reply via email to