Differences between version 7 and predecessor to the previous major change of CNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 7 | Last edited on Saturday, August 25, 2007 5:04:15 pm | by BenStaz | Revert |
Older page: | version 6 | Last edited on Sunday, June 24, 2007 2:00:06 pm | by LawrenceDoliveiro | Revert |
@@ -28,6 +28,17 @@
Contains a list of external libraries to link with.
For example to link with the libtrace library and the math library:
*export LDLIBS="-ltrace -lm"
+
+!How to define macros inside the gcc command.
+
+gcc -D<macro_name>=<definition>
+
+Note : The ''=<definition>'' part is optional.
+
+For example:
+
+*gcc -DEVENT_DEBUG
+
----
See also SharedLibraryNotes