tscp w/ bitboard under Linux

Discussion of chess software programming and technical issues.

Moderator: Ras

brianr
Posts: 540
Joined: Thu Mar 09, 2006 3:01 pm
Full name: Brian Richardson

Re: tscp w/ bitboard under Linux

Post by brianr »

Visual Studio 2008 Express Edition does support 64 bit compiles.
The SDK must be downloaded.
Then, just make these changes:

Tools -> Options -> Projects and Solutions -> VC++ Directories

Make new paths at the begin of the list:

Executable files:
$(VCInstallDir)bin\x86_amd64

Library files:
$(VCInstallDir)lib\amd64
$(WindowsSdkDir)\lib\x64

To swith back to x86 code generation just move these lines to the end of the directories list. Unfortunately the Express Edition does not allow using of Win64 platform in your projects, so you may add a configuration only.

Project option for x64 builds:

Linker -> Advanced -> Target Machine : MachineX64 (/MACHINE:X64)

Using these modifications Visual Studio will call x64 cross compilers from Windows SDK

See:
http://forums.microsoft.com/MSDN/ShowPo ... &SiteID=1