Results 1 to 4 of 4
My distribution of Damn Small Linux (Linux box 2.4.31 #6 SMP Fri Oct 21 15:15:54 EDT 2005 i686 unknown) didn't come with a C compiler. Where can I get a ...
- 11-18-2008 #1Just Joined!
- Join Date
- Aug 2008
- Posts
- 8
Installing C compiler
My distribution of Damn Small Linux (Linux box 2.4.31 #6 SMP Fri Oct 21 15:15:54 EDT 2005 i686 unknown) didn't come with a C compiler. Where can I get a C compiler?
- 11-18-2008 #2Evidently, from a later release of DSL. (Search that page for tcc)Where can I get a C compiler?
Hope this helps.--
Bill
Old age and treachery will overcome youth and skill.
- 11-18-2008 #3Just Joined!
- Join Date
- Aug 2008
- Posts
- 8
Thanks. I tried looking for every ?cc except tcc.
Just in case it comes up: how would you put (bootstrap) a C compiler on a system that doesn't ship with one (assuming there's no access to precompiled binaries)?
- 11-18-2008 #4I wouldn't. Typically, a C compiler (along with any associated assembler, etc.) would be complex enough that you'd want to get one that's made for your distro. This means going to the DSL site. I browsed around, and it seems that you can't get things that are part of the main distro without getting the whole distro. So you could download the latest distro, copy the files associated with tcc to your computer, and see what happens. But if tcc is anything like gcc, there are dozens of files you need if you want to get from C source to a runnable program. (The #include files come to mind.)how would you put (bootstrap) a C compiler on a system that doesn't ship with one (assuming there's no access to precompiled binaries)?
It might be that you can use MyDSL to add tcc to your system. I just don't know enough about DSL to say; you'll have to be the pioneer. Otherwise, it could be that your only recourse is to upgrade to the latest DSL.--
Bill
Old age and treachery will overcome youth and skill.


Reply With Quote