First you must setup the EDoc++ compilation environment. To do this run the script:
This will set a number of environment variables that ensure the modified GCC will be used when compiling and starts a new bash shell with that environment set. If you want to do this manually look in the edoc_start.sh script for information on what environment variables need to be defined.
To ensure that the correct GCC version is being used, type:
As a result you should expect to see something like:
g++ --version g++ (GCC EDoc++ Modification ver: 0.2.1) 4.0.4 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Note the first line must contain the (GCC EDoc++ Modification X.X.X) line NOT something like:
g++ (GCC) 4.0.4 ...
This shows that the modified g++ is ready in the path to be used.