[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue with ./config.status --recheck
From: |
Thomas Petazzoni |
Subject: |
Re: Issue with ./config.status --recheck |
Date: |
Sat, 8 Aug 2009 00:33:20 +0200 |
Le Fri, 07 Aug 2009 14:11:42 -0400,
Peter Johansson <address@hidden> a écrit :
> I'm not sure if it solves your problem, but it is a bad habit to set
> environment variables before ./configure, instead set them at
> commandline so configure has a chance to detect them. In your case it
> would mean:
>
> ./configure
> CC=/usr/local/xtools/arm-unknown-linux-uclibcgnueabi/bin/arm-linux-gcc
> \
> STRIP=/usr/local/xtools/arm-unknown-linux-uclibcgnueabi/bin/arm-linux-strip
> \ --target=arm-linux --host=arm-linux --build=i386-pc-linux-gnu
It indeed fixed the problem. Thanks for the hint. I carefully
re-read ./configure --help, and it's true that the given syntax is to
pass VAR=VALUE after ./configure, not before.
The fact that it works "almost" when variables are passed before is
pretty confusing.
Thanks again,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com