[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] tcc grammar problems
From: |
jiang |
Subject: |
Re: [Tinycc-devel] tcc grammar problems |
Date: |
Sat, 02 Aug 2014 12:18:15 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Excuse me, in linux_x86_64 machine.
Modify the following:
----------------------------------- tccgen.c
-----------------------------------
index 73b759f..e40ff76 100644
@@ -2524,7 +2524,7 @@ ST_FUNC void vstore(void)
if (ft & VT_CONSTANT)
tcc_warning("assignment of read-only location");
}else if(ft & VT_BITFIELD){
- ret = (vtop > (vstack + 1) || gen_ctrl == CTRL_INIT);
+ ret = 1;
if(dbt == VT_BOOL)
vtop[-1].type.t = (vtop[-1].type.t & ~VT_BTYPE) | (VT_BYTE
| VT_UNSIGNED);
gen_assign_cast(&vtop[-1].type);
If that does not work, put your source files to me, tell me compilation
step.
Best regards,
Jiang
在 2014年08月02日 06:17, grischka 写道:
jiang wrote:
The meaning is very simple patch
The patch has bugs. See:
$ make -C ../gnumake CC=tcc clean all
[...]
$ ../gnumake/gnumake
Makefile:203: target '$(patsubst)' doesn't match the target pattern
Makefile:203: *** mixed implicit and normal rules: deprecated syntax
Makefile:203: target '$(%.c,%.o,$(filter)' doesn't match the
target pattern
Makefile:203: *** mixed implicit and normal rules: deprecated syntax
Makefile:203: target '$(%.c,$(NATIVE_FILES)))' doesn't match the
target pattern
/usr/bin/sh: top_srcdir: command not found
cat: /VERSION: No such file or directory
gnumake: *** No rule to make target '$(NATIVE_FILES)', needed by
'tcc.o'. Stop.
-- gr
- Re: [Tinycc-devel] tcc grammar problems, (continued)
- Re: [Tinycc-devel] tcc grammar problems, jiang, 2014/08/08
- Re: [Tinycc-devel] tcc grammar problems, Thomas Preud'homme, 2014/08/10
- Re: [Tinycc-devel] tcc grammar problems, jiang, 2014/08/10
- Re: [Tinycc-devel] tcc grammar problems, Thomas Preud'homme, 2014/08/13
- Re: [Tinycc-devel] tcc grammar problems, jiang, 2014/08/18
- Re: [Tinycc-devel] tcc grammar problems, Thomas Preud'homme, 2014/08/19
- Re: [Tinycc-devel] tcc grammar problems, Thomas Preud'homme, 2014/08/21
- Re: [Tinycc-devel] tcc grammar problems, Thomas Preud'homme, 2014/08/30
Re: [Tinycc-devel] tcc grammar problems, jiang, 2014/08/01
Re: [Tinycc-devel] tcc grammar problems, Sia Lang, 2014/08/01
Re: [Tinycc-devel] tcc grammar problems, jiang, 2014/08/21