Target specific behaviour

NightStrike nightstrike@gmail.com
Sun Feb 24 00:21:00 GMT 2008


On 2/23/08, Brian Dessent <brian@dessent.net> wrote:
> NightStrike wrote:
>
> > Could you in theory configure one *build* of gcc to target multiple
> > platforms?  Something like this:
> >
> > ./configure --target=x86_64-pc-mingw32 --target=i686-pc-mingw32
> > --target=x86_64-pc-linux
> >
> > And have the resulting 'make install' create a set of binaries
> > prefixed appropriately once for each target?
>
> No, you need separate build trees.  But that example is senseless
> because the i386 backend is bi-arch.

It was a contrived example just to show multiple targets.



More information about the Gcc-help mailing list