Board.KolibriOS.org

Official KolibriOS board
It is currently Tue May 21, 2019 3:51 pm

All times are UTC+03:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Tiny C Compiler
PostPosted: Tue Jan 04, 2011 8:10 am 
Offline

Joined: Tue Jan 04, 2011 7:59 am
Posts: 2
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


Top
   
 Post subject: Re: Tiny C Compiler
PostPosted: Tue Jan 04, 2011 12:30 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
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.

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
 Post subject: Re: Tiny C Compiler
PostPosted: Tue Jan 04, 2011 6:00 pm 
Offline

Joined: Tue Jan 04, 2011 7:59 am
Posts: 2
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:)


Top
   
 Post subject: Re: Tiny C Compiler
PostPosted: Wed Jan 05, 2011 8:49 am 
Offline
Site Founder
User avatar

Joined: Sun Aug 08, 2004 8:55 am
Posts: 689
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.

_________________
in code we trust


Top
   
 Post subject: Re: Tiny C Compiler
PostPosted: Wed Jan 05, 2011 6:39 pm 
Offline
Mentor/Kernel Developer
User avatar

Joined: Fri Jun 30, 2006 9:01 am
Posts: 1247
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

_________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein


Top
   
 Post subject: Re: Tiny C Compiler
PostPosted: Fri Jan 07, 2011 7:27 am 
Offline
Just Flooding

Joined: Sat Jan 06, 2007 2:30 pm
Posts: 269
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.


Top
   
 Post subject: Re: Tiny C Compiler
PostPosted: Sat Jul 06, 2013 3:37 pm 
Offline

Joined: Wed Jun 05, 2013 4:41 pm
Posts: 1
which tools you use to make kolibri os............?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC+03:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited