[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_PROG_INSTALL and cross-compilation
From: |
Peter Eisentraut |
Subject: |
Re: AC_PROG_INSTALL and cross-compilation |
Date: |
Tue, 10 Jul 2001 16:39:53 +0200 (CEST) |
David Burg writes:
> Still working on cross-compilation. I have solve some portability trouble so
> now it is compiling but there are linking trouble. The cause is that the
> generated library are installed in the wrong path :
>
> /usr/local/lib
which is the default for --prefix
> instead of a path like /usr/local/target-cpu/lib
which is just another random possibility
> I know AC_PROG_INSTALL set the path where the files are installed, but does
> this macro work with cross-compilation or not ?
AC_PROG_INSTALL only finds the install program and has nothing to do with
cross-compiling (apart from install -s possibly).
If you want your package to install somewhere other than the default you
need to use the --prefix option.
--
Peter Eisentraut address@hidden http://funkturm.homeip.net/~peter