Author Topic: C::B on tinycore linux  (Read 7563 times)

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
C::B on tinycore linux
« on: July 15, 2009, 08:12:48 am »
I just finished compiling and packaging C::B on tinycore linux (http://tinycorelinux.com/). Tinycore is the 11Mb distro  that starts from a pristine state each boot, loading itself and all packages+persistent data into ram. The perfect distro for preventing cruft buildup. Comes pre-built with lightweight FLTK & JWM (with usual option to add other toolkits and WMs) and is lightning quick. I digress...

Compiling and packaging was a little more difficult than expected (few bugs including rtti off by default) but I'm very happy with the outcome. I'm running tinycore on my eee pc. On the ubuntu based distro I've been using, C::B has been pretty sluggish: Takes around 30 sec to load, editing is sluggish and something as trivial as popping up the find dialog has noticeable lag. With tinycore, most of the lag is gone. Startup is on par with XP, editing snappy (prob not quite as good as on desktop xp) and dialog lag gone.

I'll probably submit the packages over there in the next few days. Definitely worth a look...
« Last Edit: July 15, 2009, 08:22:03 am by dmoore »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: C::B on tinycore linux
« Reply #1 on: July 15, 2009, 09:24:58 am »
really cool!
Did you build Code::blocks on FLTK?
I'm not sure if I can install the tinylinux and cb under flash disk. :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: C::B on tinycore linux
« Reply #2 on: July 15, 2009, 03:48:25 pm »
really cool!
Did you build Code::blocks on FLTK?

Hell no (It would probably be easier to create wxFLTK!). Have the usual chain of wx->gtk deps.

Quote
I'm not sure if I can install the tinylinux and cb under flash disk. :D

you're probably looking at about 30Mb of packages to get a minimal dev system. :) (will take up more space in ram of course)

Offline KiwiSoftware

  • Multiple posting newcomer
  • *
  • Posts: 10
    • My website
Re: C::B on tinycore linux
« Reply #3 on: July 16, 2009, 03:21:05 pm »
Wait, you made your own linux distro? :shock:
HOW LONG DID THAT TAKE?
my website with c++ libs:
http://kiwisoftware.110mb.com/

Degmath launched!!! (Does degree functions)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7589
    • My Best Post
Re: C::B on tinycore linux
« Reply #4 on: July 16, 2009, 04:13:24 pm »
Wait, you made your own linux distro? :shock:
HOW LONG DID THAT TAKE?

I have never done it myself; but, I assume most of the time is spent learning how to do it.

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline KiwiSoftware

  • Multiple posting newcomer
  • *
  • Posts: 10
    • My website
Re: C::B on tinycore linux
« Reply #5 on: July 16, 2009, 04:35:14 pm »
HAHA lol
my website with c++ libs:
http://kiwisoftware.110mb.com/

Degmath launched!!! (Does degree functions)

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: C::B on tinycore linux
« Reply #6 on: July 23, 2009, 04:22:55 pm »
Code::Blocks rev 5693 is now in the tinycore repos (if it doesn't run you might need to manually grab wxgtk.tcel from the app browser). I thought it better to use a recent rev than the older 8.02 since it is something of a hackers distro anyway. Runs nicely in openbox wm.