Re: Issue with ./config.status --recheck

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Fri, 07 Aug 2009 14:11:42 -0400,
Peter Johansson <trojkan@xxxxxxxxx> 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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux