Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6574 → Rev 6573

/programs/develop/ktcc/trunk/libc/start/start.asm
33,7 → 33,6
; or al, [params+buf_len-1]
; jnz .crash
; check if path written by OS
mov [argc], 0
mov eax, [hparams]
test eax, eax
jz .without_path
/programs/develop/ktcc/trunk/source/libtcc.c
777,13 → 777,8
/* default case: stderr */
if (s1->ppfp) /* print a newline during tcc -E */
fprintf(s1->ppfp, "\n"), fflush(s1->ppfp);
#ifndef TCC_TARGET_MEOS
fprintf(stderr, "%s\n", buf);
fflush(stderr); /* print error/warning now (win32) */
#else
fprintf(stdout, "%s\n", buf);
fflush(stdout); /* print error/warning now (win32) */
#endif
} else {
s1->error_func(s1->error_opaque, buf);
}
2488,7 → 2483,7
tt = 0.001;
if (total_bytes < 1)
total_bytes = 1;
fprintf(stdout, "%d idents, %d lines, %d bytes, %0.3f s, %d lines/s, %0.1f MB/s\n",
fprintf(stderr, "%d idents, %d lines, %d bytes, %0.3f s, %d lines/s, %0.1f MB/s\n",
tok_ident - TOK_IDENT, total_lines, total_bytes,
tt, (int)(total_lines / tt),
total_bytes / tt / 1000000.0);
/programs/develop/ktcc/trunk/source/Makefile.kos32
3,13 → 3,8
 
SDK_DIR:= $(abspath ../../../sdk)
 
#gcc 4.8
#LDFLAGS = -static -nostdlib -T $(SDK_DIR)/sources/newlib/static.lds
LDFLAGS = -static -nostdlib -T $(SDK_DIR)/sources/newlib/static.lds
 
 
LDFLAGS = -static -S -nostdlib -T $(SDK_DIR)/lib/app-dynamic.lds \
--image-base 0
 
CFLAGS = -c -fno-ident -O2 -fomit-frame-pointer -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32
 
INCLUDES= -I $(SDK_DIR)/sources/newlib/libc/include
25,8 → 20,7
default: tcc
 
tcc: $(OBJECTS)
#gcc4.8 $(LD) $(LDFLAGS) $(LIBPATH) -o tcc $(OBJECTS) -lgcc_eh -lc -lgcc -lc
$(LD) $(LDFLAGS) $(LIBPATH) -o tcc $(OBJECTS) -lgcc -ldll -lc.dll
$(LD) $(LDFLAGS) $(LIBPATH) -o tcc $(OBJECTS) -lgcc_eh -lc -lgcc -lc
kos32-objcopy tcc -O binary
 
%.o : %.c $(SOURCES)
/programs/develop/ktcc/trunk/libctest/float2.c
File deleted
\ No newline at end of file
/programs/develop/ktcc/trunk/readme.txt
2,6 → 2,3
source/readme.*
source/changelog
source/tcc-doc.info or .texi
 
building Kolibri version
>make -f Makefile.kos32