From a93bcdffae3ac45f1d29827b59356b2c8ca555f5 Mon Sep 17 00:00:00 2001 From: grischka Date: Tue, 5 May 2009 20:17:11 +0200 Subject: [PATCH] new files: tcc.h libtcc.c tccpp.c tccgen.c --- Makefile | 3 ++- libtcc.c | 20 ++++++++++++++++++++ tcc.h | 20 ++++++++++++++++++++ tccgen.c | 20 ++++++++++++++++++++ tccpp.c | 20 ++++++++++++++++++++ 5 files changed, 82 insertions(+), 1 deletion(-) create mode 100644 libtcc.c create mode 100644 tcc.h create mode 100644 tccgen.c create mode 100644 tccpp.c diff --git a/Makefile b/Makefile index bbce096..eb2db88 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,8 @@ ARM_CROSS = arm-tcc-fpa$(EXESUF) arm-tcc-fpa-ld$(EXESUF) \ arm-tcc-vfp$(EXESUF) arm-tcc-vfp-eabi$(EXESUF) C67_CROSS = c67-tcc$(EXESUF) -CORE_FILES = tcc.c tccelf.c tccasm.c tcctok.h libtcc.h config.h +CORE_FILES = tcc.c libtcc.c tccpp.c tccgen.c tccelf.c tccasm.c \ + tcc.h config.h libtcc.h tcctok.h I386_FILES = $(CORE_FILES) i386-gen.c i386-asm.c i386-asm.h WIN32_FILES = $(CORE_FILES) i386-gen.c i386-asm.c i386-asm.h tccpe.c X86_64_FILES = $(CORE_FILES) x86_64-gen.c diff --git a/libtcc.c b/libtcc.c new file mode 100644 index 0000000..d1a6db6 --- /dev/null +++ b/libtcc.c @@ -0,0 +1,20 @@ +/* + * TCC - Tiny C Compiler + * + * Copyright (c) 2001-2004 Fabrice Bellard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + diff --git a/tcc.h b/tcc.h new file mode 100644 index 0000000..d1a6db6 --- /dev/null +++ b/tcc.h @@ -0,0 +1,20 @@ +/* + * TCC - Tiny C Compiler + * + * Copyright (c) 2001-2004 Fabrice Bellard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + diff --git a/tccgen.c b/tccgen.c new file mode 100644 index 0000000..d1a6db6 --- /dev/null +++ b/tccgen.c @@ -0,0 +1,20 @@ +/* + * TCC - Tiny C Compiler + * + * Copyright (c) 2001-2004 Fabrice Bellard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + diff --git a/tccpp.c b/tccpp.c new file mode 100644 index 0000000..d1a6db6 --- /dev/null +++ b/tccpp.c @@ -0,0 +1,20 @@ +/* + * TCC - Tiny C Compiler + * + * Copyright (c) 2001-2004 Fabrice Bellard + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ +