C Board  

Go Back   C Board > Community Boards > Tech Board

Reply
 
LinkBack Thread Tools Display Modes
Old 04-05-2007, 10:07 PM   #1
Registered User
 
code2d's Avatar
 
Join Date: Nov 2006
Location: Canada
Posts: 87
linux version and free bsb

I have a question that is haunting me. It is will all Linux programs works on all recent versions of Linux? Will all recent Linux programs work on the free bsb? I will be trying to get around to installing Linux and free bsb because I have used all version of windows to date and 2 versions, new and old of the mac operating system. BUT I HAVE NEVER USED LINUS BEFORE!!! I should be shot as a programmer.
__________________
Compiler in use: MinGW

OS: Windows ME
code2d is offline   Reply With Quote
Old 04-06-2007, 12:41 AM   #2
and the hat of Jobseeking
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,650
bsb?
Surely that's BSD

> It is will all Linux programs works on all recent versions of Linux?
If they're statically linked, there should be no problems.
Likewise, if you stick to the 'C' and POSIX APIs, these should never be a problem either.

Using older versions of some less well known shared libraries are where you're most likely to come unstuck.
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.

Salem is offline   Reply With Quote
Old 04-06-2007, 04:32 PM   #3
Registered User
 
code2d's Avatar
 
Join Date: Nov 2006
Location: Canada
Posts: 87
sorry BSD. I always make that mistake. So the answer is yes. I will have to try Linux. But what version is best for a programmer?
__________________
Compiler in use: MinGW

OS: Windows ME
code2d is offline   Reply With Quote
Old 04-07-2007, 01:13 AM   #4
and the hat of Jobseeking
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,650
Version of Linux?

There is is an "infinite" choice of distributions - http://distrowatch.com/ - which package up the Linux operating system itself with a whole bunch of other free applications and tools.

First thing is, do you have a spare machine / spare partition to install it on?
If not, the KNOPPIX distro runs entirely from CD/DVD, though I don't know without looking whether that comes with the development tools like gcc.

Beyond that, it's anyone's guess (or opinion) as to which one to get, there's no shortage of advocates for Suse, Fedora, Debian, Slackware .....

If you have a good connection and a CD/DVD writer, then download a few different ISO images and try each one out for a few hours on a separate machine.
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.

Salem is offline   Reply With Quote
Old 04-07-2007, 06:31 AM   #5
Registered User
 
divineleft's Avatar
 
Join Date: Jul 2006
Posts: 158
Post

i recommend gentoo
divineleft is offline   Reply With Quote
Old 04-07-2007, 09:07 AM   #6
The Right Honourable
 
psychopath's Avatar
 
Join Date: Mar 2004
Location: Where circles begin.
Posts: 1,068
Quote:
Originally Posted by Salem
If not, the KNOPPIX distro runs entirely from CD/DVD, though I don't know without looking whether that comes with the development tools like gcc.
It's been a while since I've used KNOPPIX for anything other than data rescue, but I'm pretty sure it has gcc installed. Actually, I seem to recall it having KDevelop installed aswell.
__________________
Memorial University of Newfoundland
Computer Science

Mac and OpenGL evangelist.
psychopath is offline   Reply With Quote
Old 04-07-2007, 11:17 AM   #7
Jaxom's & Imriel's Dad
 
Kennedy's Avatar
 
Join Date: Aug 2006
Location: Alabama
Posts: 870
Slackware 10 is great, but I'd do Slackware 11.0.

Keep in mind that Linux is not an operating SYSTEM. It is merely a kernel. So, you actually mean you want to know which version of GNU/Linux should you choose. If you want to get down and dirty with the kernel and all it's fixings, choose Slackware. All of the setup files in SW are flat text. With Suse, Debian, Red Hat, and even Mandrake, I had a hard time making changes to the OS (as I am want to do) to suite my needs.

I'd really recommend that you install several versions (one at a time) and see which one you like best.

EDIT: Hmm, I see I didn't read Salem's answer too closely before I posted. . .
Kennedy is offline   Reply With Quote
Old 04-07-2007, 10:22 PM   #8
Registered User
 
code2d's Avatar
 
Join Date: Nov 2006
Location: Canada
Posts: 87
The problem is that I do have a spare pc but it is always in use by others so I would very much anger them if I started messing with the pc. Well that just means I need one more PC.

I already downloaded Ubuntu and Gentoo live CD about 2 months ago but I never got around to installing Ubuntu. I have Gentoo live CD for the use of possible data recovery but also have never used it either.
Quote:
I'd really recommend that you install several versions (one at a time) and see which one you like best.
This seems like a good idea. Many programmer seem to use Fedora. Any reason why?
__________________
Compiler in use: MinGW

OS: Windows ME
code2d is offline   Reply With Quote
Old 04-08-2007, 06:42 AM   #9
Registered User
 
divineleft's Avatar
 
Join Date: Jul 2006
Posts: 158
fedora isn't bad, but it's rpm based and if i were you, i would stay away from those.

gentoo is source-based meaning your computer builds all of the packages to be best suited for your computer. while this means that there can be some long compile times, it also gives you the opportunity to fix any problems that arise. one of the most annoying things with a binary based distro was that you were helpless when a package doesn't work because it's binary. with gentoo you can overlay any version of any package. it's given me a large understanding of what linux is and it certainly isn't for someone who doesn't have much time on their hands.

If you do go binary, I would recommend arch linux. the community is good and the package manager/packages are very good.
divineleft is offline   Reply With Quote
Old 04-09-2007, 10:28 AM   #10
Registered User
 
code2d's Avatar
 
Join Date: Nov 2006
Location: Canada
Posts: 87
If I remember properly RPM is old and is accordingly doomed. What is a good boot loader though so I can choose which os to boot when I go and try installing linux???
__________________
Compiler in use: MinGW

OS: Windows ME
code2d is offline   Reply With Quote
Old 04-09-2007, 10:35 AM   #11
C++ Witch
 
laserlight's Avatar
 
Join Date: Oct 2003
Location: Singapore
Posts: 11,275
Grub?
__________________
C + C++ Compiler: MinGW port of GCC
Build + Version Control System: SCons + Bazaar

Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
laserlight is offline   Reply With Quote
Old 04-09-2007, 02:01 PM   #12
Frequently Quite Prolix
 
dwks's Avatar
 
Join Date: Apr 2005
Location: Canada
Posts: 7,698
Grub works really well. It comes with Debian and MEPIS (a spin-off of Knoppix). I use it to multiboot Debian and Windows XP on the same computer.

It was a bit of a pain to configure with MEPIS (but that version was really old), and with Debian it automatically detected Windows XP. I didn't have to do any configuration of grub at all.
__________________
dwk

Seek and ye shall find. quaere et invenies.

"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell


Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net

My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
dwks is offline   Reply With Quote
Old 04-10-2007, 08:21 PM   #13
Registered User
 
code2d's Avatar
 
Join Date: Nov 2006
Location: Canada
Posts: 87
Thanks very much my fellow Canadian dwks and laserlight. Does grub have a Gui or is it a DOS prompt?
__________________
Compiler in use: MinGW

OS: Windows ME
code2d is offline   Reply With Quote
Old 04-10-2007, 10:16 PM   #14
C++ Witch
 
laserlight's Avatar
 
Join Date: Oct 2003
Location: Singapore
Posts: 11,275
From what I understand, some distributions provide a graphical frontend to GRUB. I think GRUB by itself does not have a GUI, though I am not too sure as I am an occasional Linux user.
__________________
C + C++ Compiler: MinGW port of GCC
Build + Version Control System: SCons + Bazaar

Look up a C/C++ Reference and learn How To Ask Questions The Smart Way
laserlight is offline   Reply With Quote
Old 04-11-2007, 04:33 AM   #15
Advanced Novice
 
linucksrox's Avatar
 
Join Date: Apr 2004
Posts: 188
I have tried some of the latest popular distros (SUSE, Debian, Ubuntu, Slackware) but I have been the most satisfied with Fedora Core 6 for some reason. I seem to have the least trouble getting everything to work, and for me the only problem is that I can't get my sound configured to get low latency. But that's probably just because I haven't put in enough time to figure it out. But I definitely recommend FC6, although you may like another distro way more.
And yes, GRUB comes with FC6 and it is graphical. It recognizes Windows XP without any configuration (although it names it "other" by default). My advice is to partition your drive first (GParted LiveCD is completely amazing by the way), leave an open partition for linux, and then let the Fedora Core installer section off that partition how it wants.
__________________
"What are all you parallelograms doing here?" - Peter Griffin (to Joe and his wheelchair buddies)
linucksrox is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
free Windows 64-bit compiler? cyberfish Windows Programming 6 09-16-2007 03:50 PM
A question about windows programming Hussain Hani Windows Programming 16 05-23-2007 07:38 AM
Why Linux, for the average user? Hunter2 General Discussions 32 07-07-2006 02:36 PM
Linked list part 2 (Syntax error free version) davidvoyage200 C++ Programming 1 03-16-2003 10:07 AM


All times are GMT -6. The time now is 08:27 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22