If the Ada compiler is configured with --exec-prefix, it will fail as follows:
[chr...@lt ~]$ gcc -c -O2 -v hello.adb Using built-in specs. Target: i686-pc-linux-gnu Configured with: /usr/src/gcc/configure --prefix=/opt/test --exec-prefix=/opt/test/i86 --enable-shared --enable-threads=posix --enable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,ada --enable-libada Thread model: posix gcc version 4.4.0 20081030 (experimental) [trunk revision 141459] (GCC) COLLECT_GCC_OPTIONS='-c' '-O2' '-v' '-mtune=generic' /opt/test/i86/libexec/gcc/i686-pc-linux-gnu/4.4.0/gnat1 -quiet -dumpbase hello.adb -O2 -mtune=generic hello.adb -o /tmp/ccNCLjVf.s fatal error, run-time library not installed correctly cannot locate file system.ads compilation abandoned -- Summary: Ada compiler does not work with --exec-prefix configuration Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: chrisp_42 at bigpond dot com GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38493