Differences between version 8 and predecessor to the previous major change of CNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 8 | Last edited on Saturday, August 25, 2007 5:08:38 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,16 @@
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=1
----
See also SharedLibraryNotes