I need to develop a program for school using glade, gtk+ and c.
The assistents gave me the compile line that is the following :
gcc -Wall -ansi -pedantic Todo.c -o Todo -export-dynamic `pkg-config --cflags --libs gtk+-2.0 libglade-2.0 `
When i try to compile a testprogram i get this error.
cc1: error: unrecognized command line option "-export-dynamic"
I know the compile line is correct because a friend could compile with it.
I have been looking for this error but i cant find it anywhere on the net.
Does anyone has an idea? (I am on a mac)