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

Re: config.guess manufacturer string?



Kevin Kofler wrote:
Ralf Corsepius wrote:
With modern autotools: configure --host=HOST

Isn't --host supposed to be set only for cross builds? AFAIK, native builds
should set only --build or nothing.


You should have read Panu's question:

>> (how do you set up a
>>    cross-build environment if that's the case?)

The answer to it is: configure --host=HOST

Or more detailed:
./configure --host=HOST --prefix=%{_prefix}/HOST \
  CFLAGS="%HOST_CFLAGS"

Details on --prefix, --libdir etc. may require package specific custom settings (e.g. libdir may require HOST multilib custom settings.)


Ralf



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