This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gnu
- From: "Andrea 'fwyzard' Bocci" <fwyzard at inwind dot it>
- To: "reza afshar" <iso at engineer dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sun, 22 Dec 2002 13:06:54 +0100
- Subject: Re: gnu
At 12.50 21/12/2002 -0500, reza afshar wrote:
HI,
CAN YOU HELP ME TO COMPILE THIS C PROGRAM WITH GCC COMPILER?
I RUNNING WIN98 ON A PC.
I could compile it with no problems under the latest cygwin, with
openssl-devel installed.
Cygwin is a GNU environment for Windows, and comes with gcc, openssl, and
everything you would need.
/* fileSaveAs.c
Compile with:
gcc -g -o fileSaveAs -lssl -lcrypto fileSaveAs.c
*/
Here's the problem. It compiled just fine with
gcc -g -o fileSaveAs fileSaveAs.c -lssl -lcrypto
IIRC, the order of the libraries IS important.
fwyzard