From a7a2c9eb5f6c62890aaef58a78cfc38ac95f3905 Mon Sep 17 00:00:00 2001 From: turbocat Date: Thu, 10 Jun 2021 14:58:20 +0000 Subject: [PATCH] ktcc: now uses crt0.o git-svn-id: svn://kolibrios.org@8799 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/ktcc/trunk/source/libtcc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/develop/ktcc/trunk/source/libtcc.c b/programs/develop/ktcc/trunk/source/libtcc.c index da2bca4a7..54850452f 100644 --- a/programs/develop/ktcc/trunk/source/libtcc.c +++ b/programs/develop/ktcc/trunk/source/libtcc.c @@ -1719,8 +1719,8 @@ LIBTCCAPI int tcc_set_output_type(TCCState *s, int output_type) #elif defined(TCC_TARGET_MEOS) if (s->output_type != TCC_OUTPUT_OBJ && !s->nostdlib) { - tcc_add_crt(s,"start.o"); -// tcc_add_library(s,"ck"); // adding libck.a dont work, because need to be added last + tcc_add_crt(s,"crt0.o"); + //tcc_add_library(s,"lc.obj"); // adding libck.a dont work, because need to be added last } #else /* add libc crt1/crti objects */