[racket] preference: 32-bit or 64-bit racket?
Here's how to compile on windows with vc express. It's obviously more
tedious than using the build script, but it's not too bad.
COMPILING Racket from source in Windows with Visual C++ Express 2008:
(*NOTE: I'm using "plt" as the base directory for the repository)
(basically following the appropriate steps of plt\src\worksp\build.bat
but doing it manually bc VS Express doesnt have devenv.exe)
(these steps are also outlined in plt\src\worksp\README but less succinctly)
1) open plt\src\worksp\racket\racket.sln with VC Express
2) Build -> Build Solution (Release Win32 version)
3) open plt\src\worksp\gracket\gracket.sln
4) Build -> Build Solution (Release Win32 version)
5) from a cmd prompt, run vsvars32.bat (should be in \program
files\Microsoft Visual Studio 9.0\Common7\Tools\) to "Set environment
for using Microsoft Visual Studio 2008 x86 tools."
6) from plt\src\worksp\gc2, run ..\..\..\racketcgc.exe -c make.rkt
7) you may or may not need this step to get some necessary libs:
from plt\src\worksp\,
run ..\..\racket -cu ..\get-libs.rkt core ..\..\lib
and ..\..\racket -cu ..\get-libs.rkt gui ..\..\lib
8) open plt\src\worksp\mrstart\mrstart.sln with Visual C++ Express and
compile like previous steps
9) open plt\src\worksp\mzstart\mzstart.sln with Visual C++ Express and
compile like previous steps
10) from plt\, run racket -l setup -N "raco setup" to build other exe's
On Wed, Mar 9, 2011 at 6:18 PM, Stephen Chang <stchang at ccs.neu.edu> wrote:
> You can build on Windows with VC Express. You just cant use the
> build.bat script bc there's no devenv. If you use the vcbuild command
> line tool that comes with VC express, you get some errors.
>
>
>
>
>
>
> On Wed, Mar 9, 2011 at 5:37 PM, Greg Hendershott
> <greghendershott at gmail.com> wrote:
>> Oh I didn't realize that, I thought it still experimental-ish. That's great.
>>
>> Building Racket on Windows has seemed daunting. For the same reasons
>> I'm using Racket I don't have full MSVC installed these days (IIUC you
>> can't build with Express). And gcc has felt like more Cygwin than I've
>> really wanted on my laptop. But when I get some time to try I will
>> give it a shot.
>>
>> It would also be positive to have an official build someday. Vista 64
>> was otaku. Windows 7 64-bit is quite mainstream.
>>
>> On Wed, Mar 9, 2011 at 2:09 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
>>> We don't yet have a 64-bit build for Windows on the download pages, but
>>> Racket builds, runs, and is supported for 64-bit mode in Windows (Vista
>>> and up).
>>>
>>> At Wed, 9 Mar 2011 13:56:56 -0500, Greg Hendershott wrote:
>>>> On Windows 7 I would if I could. A 64-bit build of Racket for Windows
>>>> could utilize more than 2 GB.
>>>>
>>>> On Wed, Mar 9, 2011 at 9:46 AM, Noel Welsh <noelwelsh at gmail.com> wrote:
>>>> > Increased memory bandwidth and more registers are the main benefits
>>>> > I'm aware of. I'm not sure if Racket exploits the later, but it should
>>>> > benefit from the former.
>>>> >
>>>> > N.
>>>> >
>>>> > On Wed, Mar 9, 2011 at 2:35 PM, John Clements <clements at brinckerhoff.org>
>>>> wrote:
>>>> > ...
>>>> >>
>>>> >> In any case, I thought I'd just ask: how many of you are using 64-bit
>>>> builds, and how many are using 32-bit builds? Are there compelling advantages
>>>> to the 64-bit build that aren't occurring to me?
>>>> >>
>>>> >> John
>>>> > _________________________________________________
>>>> > For list-related administrative tasks:
>>>> > http://lists.racket-lang.org/listinfo/users
>>>> >
>>>>
>>>> _________________________________________________
>>>> For list-related administrative tasks:
>>>> http://lists.racket-lang.org/listinfo/users
>>>
>>
>> _________________________________________________
>> For list-related administrative tasks:
>> http://lists.racket-lang.org/listinfo/users
>>
>