This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

moving gcc from the installation path: is it allowed?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]