mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
aa100d5886
commit
1ec34e828a
3 changed files with 12 additions and 2 deletions
3
bazaar/plugin/tcc/init
Normal file
3
bazaar/plugin/tcc/init
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#ifndef _plugin_tcc_icpp_init_stub
|
||||
#define _plugin_tcc_icpp_init_stub
|
||||
#endif
|
||||
|
|
@ -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();
|
||||
|
|
|
|||
7
bazaar/plugin/tcc/tcc.upp
Normal file
7
bazaar/plugin/tcc/tcc.upp
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
description "Tiny C compiler by Fabrice Bellard\377";
|
||||
|
||||
options(POSIX) -DLIBTCC;
|
||||
|
||||
file
|
||||
tcc.c;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue