@Combuster:
Please
do not link to that particular wiki article. It's entirely obsolete for modern GCC versions and I have it scheduled for deletion at some point. I see that you are aware of this on the talk page - I also fail to see why this article is relevant. For all intents and purposes, that tutorial has been replaced by the standard gcc cross-compiler tutorial:
http://wiki.osdev.org/GCC_Cross-Compiler
@teodori:
Simply use the cross-compiler tutorial above as the other tutorial is irrelevant for you (unless you use ancient GCC versions, in which case you should stop using ancient GCC versions). Anyways, with that cleared up, what you are confused about is the GNU platform triplets:
This is an important part of the GNU build system. Every platform which code will run on or be cross-compiled to is described by such a platform. For instance, my operating systen is:
Notice how the vendor field is irrelevant in most cases. You can leave it out in most cases, where it would default to 'pc' (for 32-bit x86 platforms) or simply 'unknown'. Indeed, in almost all cases, my platform triplet is simply:
This is naturally expanded by the ./configure scripts to add a -unknown in the middle, which makes it unambiguous. Notice how GNU/Linux systems have a fourth field in the platform triplet:
So it's not always really a platform triplet, even after ./configure has made it unambiguous.
So what platform triplet are you? Well, the vendor field doesn't really matter, so we'll just leave that out. How about the the operating system field then? Well, your operating system / boot loader is
not Linux so that would be the wrong choice. How about 'none'? Well, I'm not even sure that's a real target and you are not 'none'. Indeed, the best pick for a bare generic target is actually 'elf'. This is a well-tested target that produces ELF executables. This doesn't matter for you if you use flat binaries, though, so elf is a fine choice. You can perhaps select 'coff' instead if that exists, but if it does, that setting is less tested than 'elf'. So yeah:
This is the best platform triplet for you.