64-bit compiling

Discussion of chess software programming and technical issues.

Moderator: Ras

GothicChessInventor

64-bit compiling

Post by GothicChessInventor »

I've been "out of the game" for a while, my last compiler for the PC was the Metrowerks Codewarrior. Of course Metrowerks took their ball and went home after Micro$oft stopped playing fair (designing their O.S. to deliberately break compilers, oh no, Mr. Bill!).

In any event, I'd love to be able to compile the Crafty-based Gothic Vortex as a 64-bit executable, and I find myself not knowing which compiler to seek for the job.

I took a look at the GNU pages, and, my Lord, it took me about 5 minutes to figure out how to even find a download link! I heard of obfuscated code, but obfuscating mirror sites??

Then I saw that GNU is basically a: "here you go, I dare you to try and configure this (snicker snicker)" type of environment. Metrowerks had me spoiled!

Does anyone have a 64-bit compiler recommendation? Preferably one that is Crafty-friendly so I don't have to rewrite too much code?

:D
nczempin

Re: 64-bit compiling

Post by nczempin »

GothicChessInventor wrote:I've been "out of the game" for a while, my last compiler for the PC was the Metrowerks Codewarrior. Of course Metrowerks took their ball and went home after Micro$oft stopped playing fair (designing their O.S. to deliberately break compilers, oh no, Mr. Bill!).

In any event, I'd love to be able to compile the Crafty-based Gothic Vortex as a 64-bit executable, and I find myself not knowing which compiler to seek for the job.

I took a look at the GNU pages, and, my Lord, it took me about 5 minutes to figure out how to even find a download link! I heard of obfuscated code, but obfuscating mirror sites??

Then I saw that GNU is basically a: "here you go, I dare you to try and configure this (snicker snicker)" type of environment. Metrowerks had me spoiled!

Does anyone have a 64-bit compiler recommendation? Preferably one that is Crafty-friendly so I don't have to rewrite too much code?

:D
Well, there's a (heaven forbid!) Microsoft Visual Studio 2008 around; I'm not sure if the 2005 express edition lets you compile for 64 bit. And Intel has a 30-days trial version of their compiler, that'll surely let you do it.
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: 64-bit compiling

Post by bob »

GothicChessInventor wrote:I've been "out of the game" for a while, my last compiler for the PC was the Metrowerks Codewarrior. Of course Metrowerks took their ball and went home after Micro$oft stopped playing fair (designing their O.S. to deliberately break compilers, oh no, Mr. Bill!).

In any event, I'd love to be able to compile the Crafty-based Gothic Vortex as a 64-bit executable, and I find myself not knowing which compiler to seek for the job.

I took a look at the GNU pages, and, my Lord, it took me about 5 minutes to figure out how to even find a download link! I heard of obfuscated code, but obfuscating mirror sites??

Then I saw that GNU is basically a: "here you go, I dare you to try and configure this (snicker snicker)" type of environment. Metrowerks had me spoiled!

Does anyone have a 64-bit compiler recommendation? Preferably one that is Crafty-friendly so I don't have to rewrite too much code?

:D
If you use linux, I have used intel's 64 bit compiler (free) for several years. On opterons, I use gcc which also works well.
nczempin

Re: 64-bit compiling

Post by nczempin »

nczempin wrote:
GothicChessInventor wrote:I've been "out of the game" for a while, my last compiler for the PC was the Metrowerks Codewarrior. Of course Metrowerks took their ball and went home after Micro$oft stopped playing fair (designing their O.S. to deliberately break compilers, oh no, Mr. Bill!).

In any event, I'd love to be able to compile the Crafty-based Gothic Vortex as a 64-bit executable, and I find myself not knowing which compiler to seek for the job.

I took a look at the GNU pages, and, my Lord, it took me about 5 minutes to figure out how to even find a download link! I heard of obfuscated code, but obfuscating mirror sites??

Then I saw that GNU is basically a: "here you go, I dare you to try and configure this (snicker snicker)" type of environment. Metrowerks had me spoiled!

Does anyone have a 64-bit compiler recommendation? Preferably one that is Crafty-friendly so I don't have to rewrite too much code?

:D
Well, there's a (heaven forbid!) Microsoft Visual Studio 2008 around; I'm not sure if the 2005 express edition lets you compile for 64 bit. And Intel has a 30-days trial version of their compiler, that'll surely let you do it.
Sorry, I meant to say Visual Studio 2008 Beta.
User avatar
xsadar
Posts: 147
Joined: Wed Jun 06, 2007 10:01 am
Location: United States
Full name: Mike Leany

Re: 64-bit compiling

Post by xsadar »

nczempin wrote:
GothicChessInventor wrote:I've been "out of the game" for a while, my last compiler for the PC was the Metrowerks Codewarrior. Of course Metrowerks took their ball and went home after Micro$oft stopped playing fair (designing their O.S. to deliberately break compilers, oh no, Mr. Bill!).

In any event, I'd love to be able to compile the Crafty-based Gothic Vortex as a 64-bit executable, and I find myself not knowing which compiler to seek for the job.

I took a look at the GNU pages, and, my Lord, it took me about 5 minutes to figure out how to even find a download link! I heard of obfuscated code, but obfuscating mirror sites??

Then I saw that GNU is basically a: "here you go, I dare you to try and configure this (snicker snicker)" type of environment. Metrowerks had me spoiled!

Does anyone have a 64-bit compiler recommendation? Preferably one that is Crafty-friendly so I don't have to rewrite too much code?

:D
Well, there's a (heaven forbid!) Microsoft Visual Studio 2008 around; I'm not sure if the 2005 express edition lets you compile for 64 bit. And Intel has a 30-days trial version of their compiler, that'll surely let you do it.
The Professional Edition of Visual Studio 2005 also lets you compile for 64-bit (with a small amount of tinkering). I don't know if any other editions can.
GothicChessInventor

Re: 64-bit compiling

Post by GothicChessInventor »

Thanks for all of the replies.

I managed to get a time machine and go back in time and get a new copy of CodeWarrior.

Well, maybe not that, but I searched "Amazon" for CodeWarrior and somebody was selling it still in a shrink-wrapped box, now 4 years after they dropped the product!

So, I can probably lay claim to be the person to have purchased the last available copy of CodeWarrior!
nczempin

Re: 64-bit compiling

Post by nczempin »

GothicChessInventor wrote:Thanks for all of the replies.

I managed to get a time machine and go back in time and get a new copy of CodeWarrior.

Well, maybe not that, but I searched "Amazon" for CodeWarrior and somebody was selling it still in a shrink-wrapped box, now 4 years after they dropped the product!

So, I can probably lay claim to be the person to have purchased the last available copy of CodeWarrior!
Sorry to rain on your parade, but Codewarrior is still very active in the Embedded market:

http://www.freescale.com/webapp/sps/sit ... eId=012726
GothicChessInventor

Re: 64-bit compiling

Post by GothicChessInventor »

Nicolai Czempin wrote:Sorry to rain on your parade, but Codewarrior is still very active in the Embedded market:

http://www.freescale.com/webapp/sps/sit ... eId=012726
I've known that. Try to get a compiler for Windows though.
shiv
Posts: 351
Joined: Sat Apr 01, 2006 2:03 am

Re: 64-bit compiling

Post by shiv »

bob wrote: If you use linux, I have used intel's 64 bit compiler (free) for several years. On opterons, I use gcc which also works well.
Any comments/insights on using intel's 64 C++ compiler on amd64 linux? Does intel still intentionally cripple performence on AMD's as in the past? How bad is the crippling?

Thanks.
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: 64-bit compiling

Post by bob »

shiv wrote:
bob wrote: If you use linux, I have used intel's 64 bit compiler (free) for several years. On opterons, I use gcc which also works well.
Any comments/insights on using intel's 64 C++ compiler on amd64 linux? Does intel still intentionally cripple performence on AMD's as in the past? How bad is the crippling?

Thanks.
I have not tried intel's compiler on amd64 since I last reported. It is certainly a good compiler for core2 machines. I will try it out on an AMD later this week to see how it does...