Code: Select all
gcc FILE.c -o FILE.exe -lm -lcrypt -O2 -pipe -ansi -DONLINE_JUDGE
Code: Select all
(...) ld.exe: cannot find -lcrypt
collect2: ld returned 1 exit status
Moderator: Board moderators
Code: Select all
gcc FILE.c -o FILE.exe -lm -lcrypt -O2 -pipe -ansi -DONLINE_JUDGE
Code: Select all
(...) ld.exe: cannot find -lcrypt
collect2: ld returned 1 exit status
I don't know if I do... what is it for?brianfry713 wrote:Do you need the crypt library? If not don't use -lcrypt.
Thanks, but Cygwin has the same error about lcrypt.brianfry713 wrote:Cygwin is another option.