Hi, I'm not that much in the "cross-business", but ... > No. Sorry. The whole toolchain is targeted at producing > Windows CE PE binaries. You'll always need gcc and binutils > built with --target=mingw32ce/cegcc/pe. And, we have important > (...) > You wont be able to use any of those, because they're targetted to > produce binaries for elf-linux, elf, or to bare bones > run-on-the-metal-with-no-os binaries, etc, etc.
... I don't think you are completely right here. First, the "binutils" contain the "objdump" utility, which can "transform" between "binary-file-formats". Hence, it would be "sufficient" that this utility knows also the "PE" format, while the compiler could use another "appropriate" object-file-format (why not "arm elf32"?). Second, in general, the object-file-format does not really count that much. It's actually the linker that needs to produce the "PE" binaries. Hence, I could easily imagine a situation where the "default compiler target" would be "arm elf32", and just an appropriate "ldscript" would specify that the "PE" executable-binaries-format should be produced by the "ld" itself. For example, I believe you could "convince" (almost) any standard linux toolchain (gcc + binutils) to create binaries for an i386-based embedded OS-less system. Starting with the preprocessor, which provides the "-nostdinc" and "-nostdinc++" options, and ending with the linker, which provides the "-nostartfiles", "-nodefaultlibs" and "-nostdlib" options (of course, you would need your own "embedded-system" include files, your own "embedded-libraries", and a proper "embedded-system-ldscript"). Last, but not least. It is clear that, if there are "patches" in the current cegcc, which are still not committed to the main gcc chain, then one really needs to use cegcc for the moment .... however, I assume that these changes will be "in" one day, and then ... it's just the WinCE "startup and termination code" plus the "libraries" that are needed ... Best regards, Jacek. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel