Penguin

Differences between current version and predecessor to the previous major change of CNotes.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 9 Last edited on Wednesday, January 28, 2009 10:39:31 am by AristotlePagaltzis
Older page: version 6 Last edited on Sunday, June 24, 2007 2:00:06 pm by LawrenceDoliveiro Revert
@@ -1,4 +1,6 @@
+InNeedOfRefactor  
+  
 !Where can I set paths to the directories my shared libraries are stored in? 
  
 The list of directories to be searched is stored in the file ''/etc/ld.so.conf''. 
 Simply append your desired directory to this file. 
@@ -28,6 +30,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