Page 1 of 1

Tiny C Compiler

Posted: Tue Jan 04, 2011 8:10 am
by jacoka
Hi!

First, sorry for my bad english:)
Kolibri OS is a very good and fast mini operating system, i used to overview gui, speed and functions and seems to be this mini operating system is extremly fast and stable.
Unfortunately Kolibri OS has written in assembly so sorry the assembly is very difficult language for me, but i would like to write some programs under Kolibri OS.
I searching for a ported C compiler and i have found tiny C compiler (ktcc.7z), but i cannot be download becouse the all download link are dead.
Someone can give me a helping hang to get ported tiny C compiler?

Thank you

Re: Tiny C Compiler

Posted: Tue Jan 04, 2011 12:30 pm
by hidnplayr
Welcome to the board,

If you really want to use TCC, you need to compile it, but i think it's better to use GCC or another popular compiler.
All is explained here: http://diamond.kolibrios.org/hll/hll_eng.htm

Good luck.

Re: Tiny C Compiler

Posted: Tue Jan 04, 2011 6:00 pm
by jacoka
Hi!

Thank you for quick reply.
If i understand exactly the sourcecodes of C compilers can be compiled into Kolibri OS?

P.S.: Happy New Year:)

Re: Tiny C Compiler

Posted: Wed Jan 05, 2011 8:49 am
by mike.dld
No, that's not the point. The point is, you may use those (described in the article) assemblers/compilers to create programs (binaries) out of your own source code which could then run on Kolibri. The only way I now to date to develop applications from inside Kolibri is to use FASM, which is assembler, and which is difficult to you. So you'll have to use some other (a bit more powerful) operating system to develop Kolibri programs using HLL.

Re: Tiny C Compiler

Posted: Wed Jan 05, 2011 6:39 pm
by hidnplayr
The source code af tiny C compiler needs to be compiled with another compiler (GCC on windows)
TCC itself also runs on windows.

To test KolibriOS programs on windows, you can use this emulator: viewtopic.php?f=9&t=426

Re: Tiny C Compiler

Posted: Fri Jan 07, 2011 7:27 am
by Nable
Also you can use C-- in the DOSBox. It's rather slow, but really works good.

P.S> TinyC seems to be awful, at least the Kolibri port - it generates very bad code and even makes mistakes. I tested it about 2 years ago, so this remark may be non-actual.

Re: Tiny C Compiler

Posted: Sat Jul 06, 2013 3:37 pm
by sangeet143
which tools you use to make kolibri os............?