This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: gcc installation problem
- From: "Rupert Wood" <me at rupey dot net>
- To: "'yt wang'" <yt_y2k at yahoo dot com>
- Cc: <gcc-help at gnu dot org>
- Date: Mon, 1 Jul 2002 09:00:27 +0100
- Subject: RE: gcc installation problem
Yt Wang wrote:
> ../gcc-3.0.3/configure --prefix=../gcc-3.0.3 --exec-prefix=.
:
> libtool: link: only absolute run-paths are allowed
Relative paths don't work as prefixes; you need to specify the full
path, e.g.
../gcc-3.0.3/configure --prefix=/home/arch03/apps/gcc-3.0.3
You appear to be trying to set the executable prefix to the build
directory; that's probably not a good idea. You probably don't need to
set exec-prefix (it'll default to the same as prefix) unless you've got
many systems mounting the same home directory over NFS and want
different binaries for each but maintain a shared directory for scripts,
etc.
Hope that helps,
Rup.