64-bit development in Linux

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
Greg Strong
Posts: 388
Joined: Sun Dec 21, 2008 6:57 pm
Location: Washington, DC

64-bit development in Linux

Post by Greg Strong »

I want to be able to continue development of my chess program in Linux as well as Windows, but I'm finding it almost impossible to even get a 64-bit Linux OS with development tools running. The 64-bit Fedora doesn't see to have any C compiler at all, and doesn't know how to add it with the package manager ?!? (I thought C compilation was a given for any Unix OS...) The 64-bit Debian doesn't even boot on an an Intel core 2 :shock: A search for Linux 64-bit distributions doesn't turn up anything useful (that's free) with over an hour of searching ... Seriously?!?

Someone please tell me where to find a 64-bit Linux OS with C compiler. Really shouldn't be that hard, should it?
Vladimir Xern
Posts: 39
Joined: Wed Mar 08, 2006 8:30 pm

Re: 64-bit development in Linux

Post by Vladimir Xern »

I'm not quite sure if it's what you would ultimately want, but Wubi provides perhaps the most painless Linux installation you could imagine.
User avatar
Greg Strong
Posts: 388
Joined: Sun Dec 21, 2008 6:57 pm
Location: Washington, DC

Re: 64-bit development in Linux

Post by Greg Strong »

Thanks, I'll give it a try. I really just want a 64-bit linux with a C/C++ development environment ...
User avatar
Greg Strong
Posts: 388
Joined: Sun Dec 21, 2008 6:57 pm
Location: Washington, DC

Re: 64-bit development in Linux

Post by Greg Strong »

Is Wubi 64-bit? It doesn't seem to give any indication ...
Vladimir Xern
Posts: 39
Joined: Wed Mar 08, 2006 8:30 pm

Re: 64-bit development in Linux

Post by Vladimir Xern »

Wubi installs Ubuntu Linux within the Windows filesystem like any other program that can be uninstalled later. However, it is not emulated under Windows when you run it at boot time, meaning it should be 64-bit Ubuntu even under 32-bit Windows.

It should distinguish which your system can handle during installation and download the appropriate image.
User avatar
Greg Strong
Posts: 388
Joined: Sun Dec 21, 2008 6:57 pm
Location: Washington, DC

Re: 64-bit development in Linux

Post by Greg Strong »

Excellent. Exactly what I need. Thanks!
User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 7:43 pm

Re: 64-bit development in Linux

Post by sje »

User avatar
ilari
Posts: 750
Joined: Mon Mar 27, 2006 7:45 pm
Location: Finland

Re: 64-bit development in Linux

Post by ilari »

Vladimir Xern wrote:I'm not quite sure if it's what you would ultimately want, but Wubi provides perhaps the most painless Linux installation you could imagine.
There are a couple of problems with Wubi: slower disk access, and no hibernation. If those things don't matter then I guess Wubi would work fine. However, considering how easy it is to install Ubuntu by just booting from the CD, I don't see the point of installing it on the Windows partition.
jhlywa
Posts: 3
Joined: Sun Dec 03, 2006 10:45 pm
Location: Virginia, USA

Re: 64-bit development in Linux

Post by jhlywa »

Heh, my Intel Core 2 Duo boots 64-bit Debian just fine. AMD designed the x86-64 instruction set - eventually renaming it to amd64 - so you'll see many 64-bit distros labeled amd64. You can grab the 64-bit version of Debian here:

http://cdimage.debian.org/debian-cd/4.0 ... etinst.iso

Once installed you can use aptitude to install gcc (as root):

Code: Select all

aptitude install gcc make
bhlangonijr
Posts: 482
Joined: Thu Oct 16, 2008 4:23 am
Location: Milky Way

Re: 64-bit development in Linux

Post by bhlangonijr »

I have a dual boot with Windows Vista/Fedora 9 in my core 2.
Fedora 9 comes with the latest GCC and the instalation is quite simple even if you want to work with both OSs (install it with boot manager - grub).
Also, I have installed Intel C/C++ Compiler (free).

Eclipse CDT with subclipse plugin (svn) is a great tool to work with C/C++ projects. You can install svn as a linux service in your system to control versioning. If you have the Intel Compiler it also comes with Eclipse plugin so it is easy to switch compiling your engine with both compilers (gcc & icc).