On Wed, 5 Dec 2001, Richard Levitte - VMS Whacker wrote:

> dkaufman> I have only compiled openssl in a DOS box under Win98, where the
> dkaufman> underlying Windows system takes care of the long fiile names. DJGPP in
> dkaufman> pure DOS can work with references to long file names, but truncates
> dkaufman> them to 8+3, so something like "include <openssl-097-beta.h>" is
> dkaufman> equivalent to "include <openssl-.h>".
> 
> Well, good for DJGPP, but is that enough?  How do you build the
> libraries (.LIB) and shared libraries (.DLL)?  How do you link your
> programs?  If it's with LINK and similar, do they handle long file
> names the same way?  I guess not.  Therefore, having libraries with
> names longer than 8+3 can still be disastrous.

In a DOS box under Windows, no problem with the library names. In
pure DOS, the names are truncated, but the linker handles that. You
just have to be sure that the names are unique when truncated to
8+3.The libraries are ".a" files and are statically linked at time of
compilation. No shared libraries are supported. When compiling lynx with
SSL support, my LIBS line in the makefile looks like:
LIBS = -lz -lcurses -lssl -lcrypto -L/djgpp/pdcur25/lib -L/djgpp/watt32/lib -lwatt 

DJGPP makes COFF binaries. It tries to emulate unix in DOS, rather
than using any Windows compiling conventions.
                              Doug
__ 
Doug Kaufman
Internet: [EMAIL PROTECTED]


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

Reply via email to