This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
prepending target prefix for gcc installation
- From: Dennis Heuer <dh at onclick dot org>
- To: gcc-help at gcc dot gnu dot org
- Date: 17 Aug 2002 11:57:00 +0200
- Subject: 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