Hello Marcos,

Marcos Paraiso wrote:
Ok, I found out the proper command:

gcc -o test test.c c:\mingw\lib\libeay32.a c:\mingw\lib\ssleay32.a

This guy compiles my programs just fine...
And includes the full libeay and ssleay linbs in your executeable.

If anybody knows a better way, please tell me!!!

I suggest reading the documentation for your compiler.

try something like

gcc -o test test.c -L C:\mingw\lib -leay32 -lssleay32
(perhaps you need -llibeay32,
 the name shema for libraries in windows is stupid)

Bye

Goetz

--
Goetz Babin-Ebell, software designer,
TC TrustCenter AG, Sonninstr. 24-28, 20097 Hamburg, Germany
Office: +49-(0)40 80 80 26 -0,  Fax: +49-(0)40 80 80 26 -126
www.trustcenter.de www.betrusted.com

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Reply via email to