Re: Hi
- From: "linuxfun" <linuxfun 163 com>
- To: "Craig Emery" <craig emery 3glab com>, "GTK+" <gtk-list gnome org>
- Subject: Re: Hi
- Date: Fri, 29 Jun 2001 09:33:24 +0800
Dear Craig Emery:
Thank you very much for your reply.
I am a Chinese boy and begin to learn programming on Linux.It's my interest.But at the very beginning ,everything seems too difficult.:) Anyway I love this.
at # ,I type gtk-config --version ,it replys :1.2.5,so it seems that the GTK+ is going well?
and I #man gtk-config to get help.But I do not know the relationship between "#gcc -o dest.c source.c `gtk-cong.......`" and command "gtk-config",could you tell me when you are free?
thanks a lot!
PS:forgive me that my english is not fluent.
----- Original Message -----
From: "Craig Emery" <craig emery 3glab com>
To: "GTK+" <gtk-list gnome org>
Sent: Thursday, June 28, 2001 4:02 PM
Subject: Re: Hi
> Yup. Looks like you're using the wrong quotes in your compile command.
>
> You've got "single quotation marks" (i.e. ' ) but you need apostrophies
> (i.e. ` )
> On my keyboard, the apostrophy is up by the non-keypad 1 key.
>
> Apostrophies (I've heard them called ticks too; that's only one sylable,
> much easier to "talk") mean: "run this command and put it's output **here**"
>
> So the output of the call to gtk-config (that gives the compiler flags,
> in your case, for bith #include directives and linking) will be supplied
> to gcc.
>
> This is failrly simple shell stuff and, incidentally, nothing to do with
> GTK+.
>
> The shell is your friend. Learn it well.
>
> Craig.
>
> linuxfun wrote:
>
> > Hi
> >
> > I am the beginner og GTK+ but I love it very much.Here is my probleom:
> >
> > I cannot compile my GTK programm hello.c in Redhat 6.1,use gcc hello.c
> > -o hello 'gtk-config--cflags--libs',why? I installed workstation redhat.
> >
> > thank all of you!
> >
>
>
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]