gcc include pfade
Jan-Benedict Glaw
jbglaw at lug-owl.de
Wed Jul 10 11:24:02 CEST 2002
On Wed, 2002-07-10 11:13:03 +0200, Andre Landwehr <andre.landwehr at gmx.net>
wrote in message <20020710091303.GA1890 at twintower>:
> Moin,
> ich brauche eine Lektion in Sachen gcc. Hab in meiner C Datei
> stehen:
> #include <libgdome/gdome.h>
>
> Beim Versuch zu kompilieren krieg ich dann:
> andrel at twintower:~$ gcc -Wall -lncurses -lm -lgdome -c -o main.o main.c
1. Wenn Du nur ein object file erstellen willst (-c), warum gibst Du
dann libs mit an???
2. gcc -Wall `gtk-config --cflags` -c main.c
3. gcc -Wall -o program `gtk-config --libs` -lm -lgdome main.o
MfG, JBG
--
Jan-Benedict Glaw . jbglaw at lug-owl.de . +49-172-7608481
-- New APT-Proxy written in shell script --
http://lug-owl.de/~jbglaw/software/ap2/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20020710/0c67ca9a/attachment.sig>
More information about the Linux
mailing list