I have a source file "crypto.c",in this file I use the functions which
in openssl library.
So I compile the file with the following command
gcc -c crypto.c
gcc -shared -mno-cygwin -o crypto.dll crypto.o -lcrypto
But the compiled dll file "crypto.dll" depends on the
cygcrypto-0.9.8.dll, can I have any methods compile a dll file not
depending on the cygcrypto-0.9.8.dll.
Another question:
I want compile the static library,so using the following command :
gcc -c crypto.c
gcc -static -o crypto.lib crypto.o -lcrypto.
That will give a error. how to compile the static library?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/