Anssi Saari <a...@sci.fi> writes: > Nick Dokos <ndo...@gmail.com> writes: > >> You can test that that's the case: put your program into a file, say foo.c, >> and >> execute >> >> gcc -o foo.out -lm foo.c >> >> Does that give you undefined references? > > Does for me. gcc --version says > gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 > > So is it gcc that has changed then? >
Possibly. I use gcc (GCC) 5.3.1 20151207 (Red Hat 5.3.1-2) on Fedora 22. -- Nick