* Moving installed gcc version to other path
@ 2012-01-14 10:02 Hard Maker
2012-01-16 7:38 ` Jonathan Wakely
0 siblings, 1 reply; 2+ messages in thread
From: Hard Maker @ 2012-01-14 10:02 UTC (permalink / raw)
To: gcc-help
Hi, I trying to move binary version of gcc from the installed path (this
was defined throw --prefix at build time) to other path, but I want
update the the search path of gcc to the new locations. How can I do?
Wath files or options I need to write? Where can I read about?
This question is not just for linux, I'm trying to build gcc in linux
for run under windows system using mingw and I don't know how can update
the search paths for librarys.
Thank's very much
Sergio
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Moving installed gcc version to other path
2012-01-14 10:02 Moving installed gcc version to other path Hard Maker
@ 2012-01-16 7:38 ` Jonathan Wakely
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2012-01-16 7:38 UTC (permalink / raw)
To: Hard Maker; +Cc: gcc-help
On 13 January 2012 12:57, Hard Maker wrote:
> Hi, I trying to move binary version of gcc from the installed path (this was
> defined throw --prefix at build time) to other path, but I want update the
> the search path of gcc to the new locations. How can I do? Wath files or
> options I need to write? Where can I read about?
> This question is not just for linux, I'm trying to build gcc in linux for
> run under windows system using mingw and I don't know how can update the
> search paths for librarys.
I believe it should just work, gcc uses relative paths to find its own
binaries, libraries and executables.
You could also look into using 'make install DESTDIR=/some/other/path'
which installs everything to $DESTDIR/$prefix, instead of to $prefix,
so you can then package it up and move it to the final destination.
http://www.gnu.org/prep/standards/html_node/DESTDIR.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-13 15:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-14 10:02 Moving installed gcc version to other path Hard Maker
2012-01-16 7:38 ` Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).