Installing GNU Compiler57
After editing this file, execute the
program, which will configure dynamic
linker binding. You can use the
command line option to get more information when you run
this command. Note that the order of commands is important.
The next step is to setup the
variable. You can do this by adding the
following line at the end of
file so that it is set for all users at login time.
export LD_LIBRARY_PATH=/opt/gcc-3.0.4/lib
Again note that this is the path where new library files are installed. Please note that if you
make these changes, some older programs that are compiled for some other set of shared librar-
ies may not function properly. Location of include Files
The default search path for include files can be found by executing the following com-
[rr@conformix 4]$ gcc -v -E -
Reading specs from /opt/gcc-3.0.4/lib/gcc-lib/i686-pc-linux-
Configured with: ../gcc-3.0.4/configure --prefix=/opt/gcc-
3.0.4 --enable-threads=posix
Thread model: posix
gcc version 3.0.4
/opt/gcc-3.0.4/lib/gcc-lib/i686-pc-linux-gnu/3.0.4/cpp0 -
lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=0 -
D__GNUC_PATCHLEVEL__=4 -D__ELF__ -Dunix -Dlinux -D__ELF__ -
D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix -
D__NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -
Di386 -D__i386 -D__i386__ -D__tune_i686__ -
D__tune_pentiumpro__ -
GNU CPP version 3.0.4 (cpplib) (i386 Linux/ELF)
ignoring nonexistent directory "/opt/gcc-3.0.4/i686-pc-linux-
#include "..." search starts here:
#include <...> search starts here:
End of search list.
The last part of the output shows that include files will be searched in the following direc-
tories by default.
Next Page >>
<< Previous Page
Back to the Table of Contents