programmingForum: Other Help Topics Topic: programming started by: D3javu Posted by D3javu on May 14 2004,08:46
guys , i want to know whether DSL got built in C compiler or not .. if got mean how to use it?... please do tell me step by step .. i'm newbie ... or if you guys know any c compiler that can use from floppy , please do tell me ... i want to use with live-cd... i dont want c compiler which need to install on hd
Posted by catfish on May 14 2004,15:17
DSL includes the "tcc" c compiler. Enter "tcc" at a bash prompt for usage. There are several posts in the forum with helpful advice on using tcc. Two quick points are: o #include <tcclib.h> to get "stdio-like" prototypes o link with -lc to pickup the library Look at the headers in /usr/lib/tcc/ for more info. Have fun Posted by D3javu on May 14 2004,16:25
hey , thanks for the info buddy , i appreciate it
Posted by roberts on May 14 2004,19:52
Also, there is a really nice demo/tutorial on the DSL cd. Look in /usr/share/doc/tinycc. Copy it over to your working directory and enjoy.
Posted by nugget on May 19 2004,13:12
What about getting GCC adn all the libs for that? I know how to use the GCC pretty good. Is there an apt-get thingy for it?
Posted by Grim on May 19 2004,17:11
apt-get install gcc make binutils Posted by nugget on May 24 2004,02:05
should there be two files and a folder in /usr/lib/tcc? Thats all I get anyways...
|