From: Keith M. <kei...@us...> - 2008-08-01 20:50:48
|
On Friday 01 August 2008 14:49:09 Earnie Boyd wrote: > > Nope, MinGW indeed produces *windows* binaries. I'm not sure what > > Eclipse & CDT make of this, but you certainly can't use MinGW to > > produce Linux binaries (also nowadays "Linux binaries" don't really > > exist as you've got about a gazillion target architectures). > > That is not totally correct. You can create a cross compiler that > would then produce binaries targeted for Linux. I wouldn't but > others might have some reason to purpose this. Well yes, in theory you could, but I doubt many would contemplate it; the other way round, i.e. Linux hosted, creating Windows binaries seems more useful, and indeed is what I use myself. That said, would a MinGW hosted compiler generating Linux binaries actually qualify as a *MinGW* compiler anyway? Sure, it would be MinGW hosted, but it would not be using any of the MinGW runtime components within the generated code. OTOH, I believe there are some users who have created MinGW hosted compilers for embedded system development, but again, do these qualify as MinGW compilers? Strictly, I think not. Regards, Keith. |