[Anjuta-list] linking



Just started with Anjuta, i have a probably stupid question with a small project.

What I want when linking is "gcc -Wa -g -g -O2 -o testlibpq2 main.o -L/usr/local/lib -lpq"
but what I get is "gcc -Wa -g -g -O2 -o testlibpq2 main.o"

I have tried to setup the pq library in Settings -> Compiler and Linker Settings In Library Paths I have written /usr/local/lib and in Libraries I have seleted pq.
But it has no effect.

Can anyone tell what to do ?

I'm running version 1.2.4 on FreeBSD


Thanks, Poul









[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]