This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello, I'm entering this discussion a bit late, but maybe I can clarify (or understand better what's going on myself). First, we have the following three configure flags: --build= sets the machine on which the compiler is being built. Assumed to be host, unless otherwise specified. --host= sets the machine on which the compiler is supposed to run. --target= sets the machine which the compiler is supposed to generate code for. A few thoughts: I don't think --host shouldn't matter much in the case of the compiler. Essentially, all it means is that the hosted environment has xyz feature that the compiler can rely on. Thanks to autoconf, most thinks are tested based on specific features, and not set generically per platform. For instance, I did a compile of gcc 2.95 for i386-linux on powerpc-darwin, but told it that the host was for m68k-linux. The resulting compiler seems to work fine. There are certain scenarios where this difference is important, ie a 32 bit host and 64 bit target. There, I imagine setting host == target may have some serious issues... If setting --target= for x86 x x86 cross compiles fails, that is a bug, and I'd file it as such. Admittedly it's not the common case, but setting --host shouldn't be necessary. Apologies if the above was merely a repeat of what's been said before... Cheers, Dara __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |