Skip to Content
MySQL Building User Interfaces
book

MySQL Building User Interfaces

by Matthew Stucky
July 2001
Intermediate to advanced content levelIntermediate to advanced
656 pages
14h 22m
English
Sams
Content preview from MySQL Building User Interfaces

Compiling the Program

Listing 7.19 is the file used to compile this program. If you get it from the companion Web site, it will be called build.sh. To compile, at the command line send

% ./build.sh 
Listing 7.19. File build.sh contents: The Commands Used to Compile the SESI Order Application
01 clear 
02 
03 gcc -Wall -g -o sesi_order.exe callbacks.c interface.c \ 
04              support.c   main.c  sesi_utils.c \ 
05     `gtk-config --cflags --libs` \ 
06     -I/usr/include/mysql \ 
07     -L/usr/lib/mysql -lmysqlclient -lm -lz 

Line 1 simply clears the screen; this makes it more readable if any compile errors occur. Lines 3 and 4 are the compile commands and the target files; the backslash character (\) is the line-continuation character.

Line 5 sets the GTK+ flags and ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Applications on pSeries

Linux Applications on pSeries

Dr. Jan-Rainer Lahmann, Luis Ferreira, Janethe Co, Bjorn Roden
.NET Core in Action

.NET Core in Action

Dustin Metzgar

Publisher Resources

ISBN: 073571049XPurchase book