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]

prepending target prefix for gcc installation


When installing a new system from the local system to a new host,
harddisk, partition some packages allow a prepending prefix for the
redirection of the code while installation. For an example:

Linux needs you to set the environment variable INSTALL_MOD_PATH in the
Makefile

GlibC wants you to write: make install_root=$(where) install

Most others, like Bash, can be directed directly by the configure option
--prefix

The both first examples are ugly but helpful since both products would
confuse if not configuring for a local system and redirecting the
installation to the actual target system. GCC belongs to these products
which get confused but I wasn't able to find an option for redirection.
Since now I just install at local place and then move the whole new
directory to the target place. This is suboptimal.

Can anybody help further. There should be such an option for
redirection.

Greetings
Dennis Heuer


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