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
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel