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 from the Command Line

This is the most basic option. It is almost identical to the compile command that was shown in Chapter 6, “Order Entry Abstract and Design.” Listing 10.1 is the compile command for the WCA. If you download the files from the companion Web site for this book, you will find it in the “src” directory as a file named “build.sh” under Chapter 9.

Listing 10.1. Compile Command for WCA
gcc -Wall -g -o WCA callbacks.c interface.c \ 
             support.c main.c \ 
             comm_utils.c ddc.c \ 
    `gtk-config --cflags --libs` \ 
    -I/usr/include/mysql \ 
    -L/usr/lib/mysql -lmysqlclient -lm -lz 

Recall that:

  • gcc is the compiler being used.

  • -Wall tells the compiler to output all warning messages.

  • -g tells the compiler to compile debugger information into ...

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