Damn Small Linux (DSL) Forums
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 27, 2014, 09:42:26 AM

Login with username, password and session length
News
The new DSL forums are now open.
Stats
297841 Posts in 294159 Topics by 213 Members
Latest Member: Raffles
Search:     Advanced search
* Home Help Search Login Register
Get The Official Damn Small Linux Book. Great VPS hosting provided by Tektonic

+  Damn Small Linux (DSL) Forums
|-+  Damn Small Linux
| |-+  Other Help Topics
| | |-+  C and C++ programming with the DSL OS?
« previous next »
Pages: [1] Print
Author Topic: C and C++ programming with the DSL OS?  (Read 939 times)
Tim Diskataneous
Newbie
*
Posts: 2


View Profile Email
« on: January 11, 2014, 01:23:14 PM »

I want to be able to develop applications using C and C++  HuhCan I do that with the DSL OS? My laptop doesn't meet the hardware requirements for the newest version of Linux or its flavors.
Logged
CNK
Full Member
***
Posts: 153


View Profile
« Reply #1 on: January 11, 2014, 11:20:42 PM »

Sure, why wouldn't you?

Just remember that DSL uses the old 2.4 kernel. This means you might have not be able to run new software designed for later kernel versions. If you want to use the latest version of a modern IDE, definately check whether it, and its dependancies, would run with a 2.4 kernel.

If it won't work, DSL-N uses kernel v2.6. Then there are always other options like TinyCore and Puppy Linux which use much more modern kernels.
Logged
Tim Diskataneous
Newbie
*
Posts: 2


View Profile Email
« Reply #2 on: January 16, 2014, 11:16:04 PM »

Thanks for responding CNK!

Have you worked with C or C++ using DSL?
Logged
CNK
Full Member
***
Posts: 153


View Profile
« Reply #3 on: January 17, 2014, 01:10:53 AM »

No, I've never tried.

But good luck, whatever you go for.
Logged
Raffles
Newbie
*
Posts: 4


View Profile Email
« Reply #4 on: November 05, 2014, 10:39:58 PM »

I realize it is a while since the last post, but having used DSL on and off for years I have just discovered that it includes a C compiler as standard: tcc. It's a very neat compiler, which compiles very quickly and has some nice built in features including a memory checker and a stack trace output on error, so no need for a separate debugger to find out where your program crashed.

http://en.wikipedia.org/wiki/Tiny_C_Compiler

This won't help you with c++ but if you install gcc (gcc1-with-libs.dsl) you get gcc and g++ so can compile C and/or C++, this package also contains make. The gnu debugger is separate however, you need to install the gdb.dsl package... however this looks quite an old version.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by SMF 1.1.19 | SMF © 2013, Simple Machines
Mercury design by Bloc