public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Hard Maker <hardmaker@gmail.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Moving installed gcc version to other path
Date: Mon, 16 Jan 2012 07:38:00 -0000	[thread overview]
Message-ID: <CAH6eHdQDy6asbGsgY=cCOkFge4zRP-TAoZntxpgNrUCH3OzL7A@mail.gmail.com> (raw)
In-Reply-To: <4F102A4F.6040304@gmail.com>

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

      reply	other threads:[~2012-01-13 15:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-14 10:02 Hard Maker
2012-01-16  7:38 ` Jonathan Wakely [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH6eHdQDy6asbGsgY=cCOkFge4zRP-TAoZntxpgNrUCH3OzL7A@mail.gmail.com' \
    --to=jwakely.gcc@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=hardmaker@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).