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]

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.


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