plugin/tcc: Now it is a package

git-svn-id: svn://ultimatepp.org/upp/trunk@4007 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
koldo 2011-10-13 19:46:19 +00:00
parent aa100d5886
commit 1ec34e828a
3 changed files with 12 additions and 2 deletions

3
bazaar/plugin/tcc/init Normal file
View file

@ -0,0 +1,3 @@
#ifndef _plugin_tcc_icpp_init_stub
#define _plugin_tcc_icpp_init_stub
#endif

View file

@ -10817,7 +10817,7 @@ int parse_args(TCCState *s, int argc, char **argv)
break;
case TCC_OPTION_B:
/* set tcc utilities path (mainly for tcc development) */
tcc_lib_path = optarg;
strcpy(tcc_lib_path, optarg);
break;
case TCC_OPTION_l:
dynarray_add((void ***)&files, &nb_files, r);
@ -10951,7 +10951,7 @@ int main(int argc, char **argv)
int64_t start_time = 0;
#ifdef _WIN32
tcc_lib_path = w32_tcc_lib_path();
strcpy(tcc_lib_path, w32_tcc_lib_path());
#endif
s = tcc_new();

View file

@ -0,0 +1,7 @@
description "Tiny C compiler by Fabrice Bellard\377";
options(POSIX) -DLIBTCC;
file
tcc.c;