|
From: | Frédéric Feret |
Subject: | Re: [Tinycc-devel] Working on new features |
Date: | Tue, 01 Sep 2009 13:33:01 +0200 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
These changes allow TCC to generate plain-binary executable files. This is usefulDon't get me wrong, but: - if (file_type != TCC_OUTPUT_OBJ) { + if ((file_type != TCC_OUTPUT_OBJ) && (s1->output_type != TCC_OUTPUT_FORMAT_BINARY)) { I'm curious how you tested your changes?
for who want to compile a boot sector or a MSDOS .COM application. For generating a plain-binary executable, invoke TCC like this: tcc -nostdlib -Wl,--oformat,binary <filename> -- Frederic
[Prev in Thread] | Current Thread | [Next in Thread] |