I cannot find an answer in the documentation. The scenario is a GCC compiled with configure --prefix=SOMEWHERE and then the entire tree installed by make install in SOMEWHERE is copied to SOMEWHERE_ELSE. This is what happens when packaging a binary distribution (say rpm) and need the en user to be able to install in a directory he has enough rights to. Running the compiled gcc with -print-search-dirs shows that programs and libraries are searched relative to the gcc binary. Is this allowed? Note that is different (in a sense complementary) to the staged installation mentioned in the docs (using DESTDIR) Best regards, Maurizio