Dr Stephen Henson wrote:
>
> An alternative which should (hopefully) solve this problem once and for
> all is to junk the DEF files and generator completely. In my PKCS#12
> stuff I use the EXTERN macro for external functions. Normally this gets
> #define'd to nothing but under Win32 its becomes: __declspec( dllexport
> ) which causes the symbols to be exported if a DLL is built.
>
> As you can imagine changing every header file to support this is quite a
> big step. Before I try it can anyone think of a good reason why it may
> not work?
Well, it certainly worked for me when I was building ELF-style .so and
Windows-style .DLL from the same source. Admittedly it was for building
shared libraries for Tcl-extensions, but I fail to see why that should
be a special case. And I didn't get any unresolved externals.
HTH,
Hannes
--
Hannes Reinecke <[EMAIL PROTECTED]>
Fluid Loading and Instrumentation Center Tel: (+44) 131 451 3149
Dept. of Civil & Offshore Engineering Fax: (+44) 131 451 3154
Heriot Watt University, Edinburgh EH14 4AS
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]