forked from KolibriOS/kolibrios
- Fixed ktcc build for linux
- Added Makefile.linux32 - Added TEAtool and fixed console title - Fixed crash of THashView git-svn-id: svn://kolibrios.org@8250 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Executable
BIN
Binary file not shown.
@@ -0,0 +1,13 @@
|
||||
CC=gcc
|
||||
NAME=kos32-tcc
|
||||
|
||||
SRC=libtcc.c tcc.c
|
||||
CFLAGS= -DTCC_TARGET_MEOS_LINUX
|
||||
LFLAGS= -m32 -static
|
||||
|
||||
all:
|
||||
$(CC) $(CFLAGS) $(LFLAGS) $(SRC) -o $(NAME)
|
||||
install:
|
||||
cp $(NAME) ../bin
|
||||
clean:
|
||||
rm -f $(NAME)
|
||||
@@ -140,7 +140,7 @@ BOOL WINAPI DllMain (HINSTANCE hDll, DWORD dwReason, LPVOID lpReserved)
|
||||
}
|
||||
#endif
|
||||
#else // _WIN32
|
||||
#ifdef TCC_TARGET_MEOS
|
||||
#if defined TCC_TARGET_MEOS && ! TCC_TARGET_MEOS_LINUX
|
||||
/* on Kolibri host, we suppose the lib and includes are at the location of 'tcc' /lib, /include */
|
||||
static void tcc_set_lib_path_kos(TCCState *s)
|
||||
{
|
||||
@@ -1092,7 +1092,7 @@ LIBTCCAPI TCCState *tcc_new(void)
|
||||
#ifdef _WIN32
|
||||
tcc_set_lib_path_w32(s);
|
||||
#else
|
||||
#ifdef TCC_TARGET_MEOS
|
||||
#if defined TCC_TARGET_MEOS && ! TCC_TARGET_MEOS_LINUX
|
||||
tcc_set_lib_path_kos(s);
|
||||
#else
|
||||
tcc_set_lib_path(s, CONFIG_TCCDIR);
|
||||
|
||||
Reference in New Issue
Block a user