Author Topic: Compiling TinyCC with PellesC  (Read 3928 times)

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1902
Compiling TinyCC with PellesC
« on: August 31, 2007, 05:54:08 pm »

Forum problem:

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: [Select]
cc /Ze /Go -D__GNUC__ tcc.c
In tccpp.c change this:
tccpp.c line 72:
Code: [Select]
static const unsigned char tok_two_chars[] =

In tiny_libmaker change this:
Code: [Select]
if (!mktemp(tfile)to this:
Code: [Select]
if (!tmpnam(tfile)
2010-02-12 project files.
2010-04-06 project file for modular compilation.
« Last Edit: April 09, 2010, 08:21:55 am by timovjl »
May the source be with you