[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Working on new features
From: |
Bernhard Reutner-Fischer |
Subject: |
Re: [Tinycc-devel] Working on new features |
Date: |
Tue, 1 Sep 2009 13:43:57 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Tue, Sep 01, 2009 at 01:33:01PM +0200, Frédéric Feret wrote:
>
>>Don'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?
>These changes allow TCC to generate plain-binary executable files.
This completely broke writing executables.
I suggest you typedef the TCC_OUTPUT_FORMAT_x enum and the TCC_OUTPUT_x
enum, adjust TCCState accordingly (to use these two types) and recompile.
Please fix.
TIA,