Damn Small Linux (DSL) Forums
Welcome, Guest. Please login or register.
September 27, 2023, 06:13:19 AM

Login with username, password and session length
News
The new DSL forums are now open.
Stats
11609 Posts in 311 Topics by 291 Members
Latest Member: mik3ca
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 13786 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
Sr. Member
****
Posts: 269


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
Sr. Member
****
Posts: 269


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
sloela
Newbie
*
Posts: 2


View Profile Email
« Reply #5 on: January 09, 2015, 11:19:49 AM »

I think you should think carefully before.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

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