Installation of <application><acronym>GCC</acronym></application> &gnat-intro; &gnat-inst; Return to Installation of <application><acronym>GCC</acronym></application> Patch the source files with the following command: patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes-1.patch && sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/ Install GCC by running the following commands: PATH_HOLD=$PATH && export PATH=/opt/gnat/bin:$PATH && cd gcc/ada && touch [es]info.h[bs] && cd ../.. && mkdir ../gcc-build && cd ../gcc-build && CC=/usr/bin/gcc ../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \ --enable-languages=c,c++,objc,f77,ada,java --enable-threads=posix \ --enable-__cxa_atexit --enable-clocale=gnu && make bootstrap && make -C gcc gnatlib_and_tools && make -k check && make install && ln -sf ../usr/bin/cpp /lib && ln -sf gcc /usr/bin/cc && ln -sf g77 /usr/bin/f77 && export PATH=$PATH_HOLD You may remove the GNAT installation: rm -rf /opt/gnat