This is the mail archive of the gcc@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: configure: error: expected an absolute directory name for --prefix


Thanks Andrew, that is exactly what I did, although I was expecting
configure to be smart enough to use that trick on my behalf.

On 28/05/06, Andrew Pinski <pinskia@physics.uc.edu> wrote:

On May 28, 2006, at 1:58 PM, Manuel LÃpez-IbÃÃez wrote:


> Dear all,
>
> Doesn't autotools support relative paths in configure?

The reason why you cannot pass relative paths for --prefix is because
--prefix is passed
down to all of the makefiles and others which is going to have the
wrong prefix.

Just use an absolute path constructed with `pwd`/...... .

-- Pinski

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