A small test, which doesn'r run as expected on my system.
Instead of running the script, tcc compiles it :-( Using latest
mercurial pulled from Rob's repository...
---
#!/usr/bin/tcc -DTEST=1 -run
int main(int argc,char **argv)
{
#ifdef TEST
printf(Hello test\n);
#else
This works for me with my tcc, which I think is changeset 4486c53073db of the
repo at https://sharesource.org/hg/mercurialtcc
On Sunday 27 April 2008 11:47:32 Pedro A ARANDA wrote:
A small test, which doesn'r run as expected on my system.
Instead of running the script, tcc compiles it :-(
CVSROOT:/sources/tinycc
Module name:tinycc
Changes by: grischka grischka 08/04/27 18:48:19
Modified files:
. : tccelf.c
Log message:
fix bogus relocations with TCC_OUTPUT_DLL
CVSWeb URLs:
CVSROOT:/sources/tinycc
Module name:tinycc
Changes by: grischka grischka 08/04/27 18:49:31
Modified files:
. : tcc.c tccelf.c
Log message:
fix stabstr with linked objects
CVSWeb URLs:
CVSROOT:/sources/tinycc
Module name:tinycc
Changes by: grischka grischka 08/04/27 18:50:36
Modified files:
. : tcc.c
Log message:
fix options in C scripts after -run
CVSWeb URLs:
New in CVS :
-
* Enable multiple states
-
So now you can create more than one state in libtcc
(suggested by egodust).
Note however that once a new state is created, the only valid
operations with an old state are:
- running code from it
-