I'm just curious about it, generating plain binary from C source code using another tools is easy, but I really eager to know this thing accomplished using Microsoft Visual C++ version 6.0. I guess that this might be possible, since the EFI (Extensible Firmware Interface) toolkit from intel uses it to generate the firmware, and I'm quite sure it's a plain binary . Thx :notsure:
Posted on 2004-03-17 04:23:27 by Pinczakko
I don't think you can do it directly with the compiler, unless there's some interesting undocumented stuff. It wouldn't make too much sense either, as everything would have to be contained in one compilation unit (ok, so you can #include stuff, but... meh).

There's the __emit stuff or whatever to insert raw bytes, but that's of course not a "plain binary" output format, just allows you to insert stuff.
Posted on 2004-03-17 06:59:49 by f0dder
it must be the Linker that does it :D together with some Intel includes/sections
Posted on 2004-03-17 13:14:14 by BogdanOntanu