News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Linux distro for devs?

Started by MortenMacFly, November 24, 2006, 12:23:33 AM

Previous topic - Next topic

MortenMacFly

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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

takeshimiya

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

MortenMacFly

Quote from: takeshi miya on November 24, 2006, 01:02:59 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

MortenMacFly

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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

tiwag

Quote from: MortenMacFly on November 25, 2006, 08:21:01 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 !

tiwag

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 ...

stahta01

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++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

takeshimiya

Quote from: tiwag on November 25, 2006, 11:12:28 PM
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. :)

tiwag

#8
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.

Pecan

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.

Der Meister

Quote from: Pecan on December 16, 2006, 06:54:20 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.

Pecan

Quote from: Der Meister on December 16, 2006, 07:40:48 PM
Quote from: Pecan on December 16, 2006, 06:54:20 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.


Der Meister

Quote from: Pecan on December 16, 2006, 07:50:45 PM
Thanks, I added a user 'pecan'. But I can't figure out how to run as pecan.
This should do the trick:

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.

tiwag

#13
Quote from: Pecan on December 16, 2006, 07:50:45 PM
Quote from: Der Meister on December 16, 2006, 07:40:48 PM
Quote from: Pecan on December 16, 2006, 06:54:20 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.



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

Pecan

Quote from: tiwag on December 18, 2006, 08:17:09 AM
<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.