Author Topic: Linux distro for devs?  (Read 22851 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Linux distro for devs?
« on: November 24, 2006, 12:23:33 am »
Dear all,
I'm looking for a linux distribution (best would be a live-cd) that ships with the most important development tools - thus at least gcc/g++ and wxGTK (2.6.x). I don't have massive space so if there is a distro which is especially designed for this purpose I'd like to know. It doesn't need a fancy desktop but it should be able to run C::B. And if I can simply boot into this system without installation - great!!!
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: Linux distro for devs?
« Reply #1 on: November 24, 2006, 01:02:59 am »
My favorite when I'm on Windows is andLinux. Basically it's Ubuntu Edgy + coLinux.
It's like you would use in Windows VMware/VirtualPC/Parallels to boot Linux, only that it's native, not emulated (it's really fast). :)

To get it running, download andLinux PreBeta (190MB) from here and then install it simply run the file run_to_install.bat.
And to run it, startup.bat. If you have any issue, be sure to read this.

Here's a C::B running on Ubuntu Edgy and Windows XP at the same time,


Perfect for cross-platform development. :D

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: Linux distro for devs?
« Reply #2 on: November 24, 2006, 09:08:29 am »
Here's a C::B running on Ubuntu Edgy and Windows XP at the same time,
Yes, that would be quite what I'm looking for. I know coLinux but did never get the network to run but I saw that there were a couple of updates, too. Will try that for sure. Thanks! :D
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9496
Re: Linux distro for devs?
« Reply #3 on: November 25, 2006, 08:21:01 pm »
Right... this was a good shot. I didn't get it to work at work, but here at home this is quite impressive. I'm currently compiling SVN in a Linux shell under Windows. With real *great* speed!
That's pretty cool... so I just can forget about another Linux partition (I wouldn't have had space enough for that anyway...).
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Linux distro for devs?
« Reply #4 on: November 25, 2006, 09:54:02 pm »
... I'm currently compiling SVN in a Linux shell under Windows. With real *great* speed! That's pretty cool...

i'm doing the same at the moment, thanks for the tip with andLinux, quite impressive !

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Linux distro for devs?
« Reply #5 on: November 25, 2006, 11:12:28 pm »
done, i love this desktop  :D




another question: does any andLinux guru know how i can edit/set my screen dpi settings
because the fonts are displayed quite too small on my andLinux ...

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6636
    • My Best Post
Re: Linux distro for devs?
« Reply #6 on: November 25, 2006, 11:54:24 pm »
Thanks for the word on andLinux!

I am working on setting up my machine now.

Thanks again
Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline takeshi miya

  • Lives here!
  • ****
  • Posts: 1487
Re: Linux distro for devs?
« Reply #7 on: November 26, 2006, 06:44:20 am »
another question: does any andLinux guru know how i can edit/set my screen dpi settings
because the fonts are displayed quite too small on my andLinux ...
I recommend this:
apt-get install gtk-switch-theme gtk2-engines-ubuntulooks
and then run gtk-switch-theme2, there you can choose the font size of the theme (by clicking on the "+" button) and the default ubuntu theme which is nicer.

Both packages will be included by default in next andLinux. :)

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Linux distro for devs?
« Reply #8 on: November 26, 2006, 09:14:14 am »
found it : it's a commandline argument to Xming ::  -dpi int    ->    screen resolution in dots per inch
can be edited in "settings_static.txt"
exec0="xming\Xming.exe",":0 -ac -clipboard -notrayicon -c -multiwindow -dpi 87 ...

maybe useful for others too

i don't know why Xming don't just use the dpi settings already provided by windows OS ??
at least it can be given as commandline argument.
« Last Edit: November 26, 2006, 01:25:27 pm by tiwag »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2173
Re: Linux distro for devs?
« Reply #9 on: December 16, 2006, 06:54:20 pm »
The wiki for andLinux says that its a ubuntu system.

Yet I can't find anyting ubuntu about it. It boots, puts 4 icons at the top of the screen and that's it.
Am I supposed to start ubuntu somehow?

How can I add a user other than root? It has no adduser app that I can find.

Offline Der Meister

  • Regular
  • ***
  • Posts: 307
Re: Linux distro for devs?
« Reply #10 on: December 16, 2006, 07:40:48 pm »
How can I add a user other than root? It has no adduser app that I can find.
Normally this programm should be called "useradd" ;)
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2173
Re: Linux distro for devs?
« Reply #11 on: December 16, 2006, 07:50:45 pm »
How can I add a user other than root? It has no adduser app that I can find.
Normally this programm should be called "useradd" ;)

Thanks, I added a user 'pecan'. But I can't figure out how to run as pecan.
It's funny my unix book didn't even show me how to add a user.

andLinux boots as root. When I use the X termininal app to login as pecan, the file manger still starts up as root.

Very confusing. Do you always have to run as root in andLinux?
That wouldn't help me debug CB very well.


Offline Der Meister

  • Regular
  • ***
  • Posts: 307
Re: Linux distro for devs?
« Reply #12 on: December 16, 2006, 09:45:47 pm »
Thanks, I added a user 'pecan'. But I can't figure out how to run as pecan.
This should do the trick:
Code: [Select]
su pecan -
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Linux distro for devs?
« Reply #13 on: December 18, 2006, 08:17:09 am »
How can I add a user other than root? It has no adduser app that I can find.
Normally this programm should be called "useradd" ;)

Thanks, I added a user 'pecan'. But I can't figure out how to run as pecan.
It's funny my unix book didn't even show me how to add a user.

andLinux boots as root. When I use the X termininal app to login as pecan, the file manger still starts up as root.

Very confusing. Do you always have to run as root in andLinux?
That wouldn't help me debug CB very well.



yes, the startup of andLinux is a bad hack:

   the xfce panel is started from the
   startwindowsterminalsession script


andLinux boot startup files:

/etc/inittab
   #Startup application
   C0::respawn:/usr/bin/X11/startwindowsterminalsession

/usr/bin/X11/startwindowsterminalsession
   termcommand=`cat /etc/winterm`
   ...
   sux - root ${termcommand} $parameters

/etc/winterm
   /usr/bin/xfce4-panel



i removed the execution of startwindowsterminalsession from /etc/inittab
and then andLinux just boots and i do a login to my user
with putty terminal from windows. this works just fine.

if i need xfce i start it from another shell script with user-rights.

brgds, tiwag
« Last Edit: December 18, 2006, 08:19:44 am by tiwag »

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2173
Re: Linux distro for devs?
« Reply #14 on: December 18, 2006, 02:20:55 pm »
<snip>
i removed the execution of startwindowsterminalsession from /etc/inittab
and then andLinux just boots and i do a login to my user
with putty terminal from windows. this works just fine.

if i need xfce i start it from another shell script with user-rights.

brgds, tiwag

thanks tiwag, I'll make those mods today.
andLinux really makes it convienient to do the CB write/test/modify cycle.
I installed samba, and now have shared file accessabilty with windows. Very convenient.