I have a elf386 gcc in cygwin(not cygwin built-int gcc). I have an error while compile, please help

thanks
from Peter ([email protected])
No you haven't, or at least, you are not using it.mcheung63 wrote:I have a elf386 gcc in cygwin(not cygwin built-int gcc)
Code: Select all
$ gcc -lcrypto crypttool.c -o crypttool
Code: Select all
$ gcc crypttool.c -lcrypto -o crypttool
Hobbes wrote:My guess is that there is no libmean.a in the standard library directories.
mcheung63 wrote:-L.
You see the contradiction?not cygwin built-int gcc
(...)
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld
That's why I mentioned that instance where options in the expected order didn't work for me on Cygwin once before.Combuster wrote:I don't think the location of -o should matter, as I never knowingly had problems with that. The rest is in the expected order so...
I see it, but that shouldn't matter either. The linker can't see libmean.a...You see the contradiction?