[Zlib-devel] CHOST option

Volker Grabsch vog at notjusthosting.com
Mon Apr 26 06:48:19 EDT 2010


Enrico Weigelt <weigelt at metux.de> schrieb:
> * 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.

IBTD. In mingw-cross-env, we only pass the toolchain commands
via the environment if there is no way around it.

Most packages are cross compiled via either

    make CROSS=i686-pc-mingw32-

or via:

    ./configure --host=i686-pc-mingw32
    make

Our tutorial describes that in more detail:
http://mingw-cross-env.nongnu.org/#tutorial



Gretts,

    Volker

-- 
Volker Grabsch
---<<(())>>---
Administrator
NotJustHosting GbR




More information about the Zlib-devel mailing list