Код: Выделить всё
gcc --std=c99 -Wall -lz a.c -o a.png
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find -lz
collect2.exe: error: ld returned 1 exit status
Подробнее здесь: https://stackoverflow.com/questions/247 ... xit-status
Мобильная версия