Код: Выделить всё
[fox@localhost snake]$ g++-3.3.2 ./*.cpp -static -lSDL
/usr/bin/ld: cannot find -lm
collect2: ld returned 1 exit status
[fox@localhost snake]$Ошибся в описании темы. Не /usr/bin/lm, а libm
Модератор: Модераторы разделов
Код: Выделить всё
[fox@localhost snake]$ g++-3.3.2 ./*.cpp -static -lSDL
/usr/bin/ld: cannot find -lm
collect2: ld returned 1 exit status
[fox@localhost snake]$