[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: confusion with host,build,target
From: |
stefan |
Subject: |
Re: confusion with host,build,target |
Date: |
Sat, 5 Jan 2002 22:18:56 +0100 (CET) |
On Sat, 5 Jan 2002, Guido Draheim wrote:
> Es schrieb stefan:
> >
> > Hello list,
> >
> > I recently setup a cross compiler from linux->mingw32. Using --host,
> > --build and --target I am able to reproduce software successfully. But
> > with a little bit of confusion about the above parameters.
> >
> > Reading `info Autoconf' tells me:
> > --host : the system the package will run (here: mingw32)
> > --build : the system the package is build (here: linux)
> > --target : the system the package is meant to produce code for (here:
> > mingw32)
> >
> > Thus libtool should set the program compiling the `impgen' program when
> > creating the import library to a `--build' gcc and should not default to
> > the `--host' gcc which it in fact does. This fails of course, because
> > this gcc produces code for mingw32 here and cannot be executed!
> > I fixed this behaviour setting HOST_CC=gcc which then overrides the
> > setting inside libtool. I got confused because I had to set HOST_CC and
> > not BUILD_CC. Am I misunderstanding something? Any help or just a
> > clarification is very appreciated.
> >
>
> I am just out the door (sat night), please use the following macro until
> we can sort things out for a better way:
>
> http://ac-archive.SF.net/guidod/patch_libtool_to_add_host_cc.html
This macros look reasonable for me. Actually I implicitely asked for this
being fixed in libtool itself.
Thanks for your quick response,
address@hidden
- confusion with host,build,target, stefan, 2002/01/05
- Re: confusion with host,build,target, Guido Draheim, 2002/01/05
- Re: confusion with host,build,target,
stefan <=
- Re: confusion with host,build,target, Guido Draheim, 2002/01/06
- Re: confusion with host,build,target, stefan, 2002/01/06
- re: HOST_CC, crossgcc, mingw32, again/summarized - Re: confusion with host,build,target, Guido Draheim, 2002/01/06
- re: HOST_CC, crossgcc, mingw32, again/summarized - Re: confusion with host,build,target, Robert Collins, 2002/01/07
- Re: HOST_CC, crossgcc, mingw32, again/summarized - Re: confusionwith host,build,target, Guido Draheim, 2002/01/07
- Re: HOST_CC, crossgcc, mingw32, again/summarized - Re: confusionwith host,build,target, Guido Draheim, 2002/01/07
- Re: HOST_CC, crossgcc, mingw32, again/summarized - Re: confusionwith host,build,target, Robert Collins, 2002/01/09