forked from KolibriOS/kolibrios
TinyBasic-1.0.4 added to autobuild
git-svn-id: svn://kolibrios.org@9234 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -20,8 +20,9 @@
|
||||
#include "generatec.h"
|
||||
|
||||
#ifdef _KOLIBRI
|
||||
#include <sys/ksys.h>
|
||||
#define KTCC_BIN "/kolibrios/develop/tcc/tcc"
|
||||
#define KTCC_FLAGS "%s -o %s -lck"
|
||||
#define KTCC_FLAGS "-nobss %s -o %s -ltcc -lc.obj"
|
||||
#endif
|
||||
|
||||
/* static variables */
|
||||
@@ -300,15 +301,12 @@ static void output_exe (char *command, char *basic_filename) {
|
||||
#else
|
||||
sprintf(final_command, KTCC_FLAGS, c_filename, exe_filename);
|
||||
if(!_ksys_exec(KTCC_BIN, final_command)){
|
||||
printf(final_command);
|
||||
}else{
|
||||
printf("Bad command: %s %s\n", KTCC_BIN, final_command);
|
||||
exit(0);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Top Level Routine
|
||||
*/
|
||||
|
Reference in New Issue
Block a user