Target specific behaviour

Brian Dessent brian@dessent.net
Sat Feb 23 22:45:00 GMT 2008


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.

Brian



More information about the Gcc-help mailing list