[Zlib-devel] CHOST option

Enrico Weigelt weigelt at metux.de
Mon Apr 26 05:45:24 EDT 2010


* Mark Adler <madler at alumni.caltech.edu> schrieb:

> The new CHOST thing in ./configure seems to be causing 
> problems, since it seems to be often set but messes with 
> configure where it used to work fine.  As a result I am 
> proposing that the setting of CROSS_PREFIX from CHOST 
> be done only when an option is specified to configure, e.g. --chost.

The whole CROSS_PREFIX thing is a bad idea, IMHO.
Crosscompiling people are used to explicitly pass the toolchain
commands via envvars. I haven't analyzed the current configure
script completely, but the CROSS_PREFIX stuff has good chances 
to break somewhere. At least, the current gcc-detection is bad:
it guesses from the filename, not asking it. 


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
---------------------------------------------------------------------
 Please visit the OpenSource QM Taskforce:
 	http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
	http://patches.metux.de/
---------------------------------------------------------------------




More information about the Zlib-devel mailing list