Re: Compile & MySql questions



Well, the line that says .c.o??  It makes .o files from .c
files....compiling is a 2 step process,
compiling and linking (well, 3 if you count preprocessing..)....
.o files have been compiled, just not linked...
Using that Makefile, it will make the .o files from the .c files you have.
Just make the first part of the name the same (eg mycode.o in the Makefile
when you have a mycode.c)

As for gnomelibdb -  that contains widgets for connecting to a mysql
database and doing SQL commands and getting back the data - perhaps I
misunderstood your question?

Rich G
----- Original Message -----
From: "Pablo Fischer" <exilion yifan net>
Cc: <gtk-app-devel-list gnome org>
Sent: Thursday, July 18, 2002 11:04 PM
Subject: Re: Compile & MySql questions


Ok.. thanks Rich;

Also I have a question with this:

The compile command includes the list $(O_FILES) of .o files which it
makes
first.  It will recompile the .o files from whatever .c files have
changed,
and then compile all the .o files together into one nice binary named
main_prg.

It could sound some stupid.. but how can I create the *.o files?.. I
only have .xpm (for icons) and .c (for code).. but I dotn understand
that of *.o files. Could you explain me that?

Also.. for the "Mysql Question", I looked that website and looks cool,
but.. thats not the main idea of what I want, cause I looked a code of
Mysql-GUI (made with GTK) and they use mysql functions.

Thanks, Paul Fischer

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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