July 2001
Intermediate to advanced
656 pages
14h 22m
English
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.
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 ...