C language > Tips & tricks
Compiling TinyCC with PellesC
(1/1)
TimoVJL:
Sourcecode:
http://bellard.org/tcc/
http://repo.or.cz/w/tinycc.git
Forum problem:
http://lists.gnu.org/archive/html/tinycc-devel/2007-08/msg00035.html
1: Run build-tcc.bat in win32 folder for config.h
2: Copy tcc.ppj and tiny_libmaker.ppj to win32 folder
3: Compile tcc.ppj project
4: Compile tiny_libmaker.ppj project
5: Run build-tcc.bat again for libtcc1.a library
From commandline tcc.exe only:
--- Code: ---cc /Ze /Go -D__GNUC__ tcc.c
--- End code ---
In tccpp.c change this:
tccpp.c line 72:
--- Code: ---static const unsigned char tok_two_chars[] =
"<=\x9E>=\x9D!=\x95&&\xA0||\xA1++\xA4--\xA2==\x94<<\x01>>\x02+=\xAB"
"-=\xAD*=\xAA/=\xAF%=\xA5&=\xA6^=\xDE|=\xFC->\xCB..\xA8##\xB6";
--- End code ---
In tiny_libmaker change this:
--- Code: ---if (!mktemp(tfile)
--- End code ---
to this:
--- Code: ---if (!tmpnam(tfile)
--- End code ---
2010-02-12 project files.
2010-04-06 project file for modular compilation.
Navigation
[0] Message Index
Go to full version