This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Correct - your (extended) schematics below describe perfectly what I had in mind. I actually have two very different scenarios for which I have to prepare. GCC2 will have to compile either i586/i686 or ppc (using the - native - x86_64 environment) but not both!This is two compilers. Both have use x86_64 as the host and buildSo, if I want a cross compiler which is x86_64 and cross-compiles for
environment, and use the appropriate target as the target environment.
ppc is that one or two compilers (and chain tools) I need to build? I
am confused now!
If I'm following you, you have one "GCC No 2 compiler" for the i586/i686
target, and you have one for the PPC target. I just wanted to make
clear that you can't have a single compiler which targets all of
i586/i686/PPC.
Yep, that is *exactly* what I had in mind. The target systems could be of two different types and are two, completely different scenarios.The two possible scenarios are
x86_64 (GCC1) -> x86_64 (GCC2) -> powerpc (GCC3) or x86_64 (GCC1) -> x86_64 (GCC2) -> i586/i686 (GCC3)
So, I would need three compilers for the above, the second one (GCC2)
being the most tricky as it needs to be able to use the power of the
host system (x86_64) in order to build either powerpc or i586/i686
code - all in chroot-ed environment. Well, at least that is my take on
it.
You can't really describe these compilers using single names. I would say you have
x86_64-native (GCC1) -> x86_64-x-powerpc (GCC2) -> powerpc-native (GCC3)
x86_64-native (GCC1) -> x86_64-x-i586/i686 (GCC2) -> i586/i686-native (GCC3)
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |