Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-12-10 Thread Arthur A. Gleckler
> The last line overrides the default code generator which is i386 -- > incorrect for snow leopard, and perhaps the source of the problems > here. Yes, that did it for me. Thanks. ___ MIT-Scheme-devel mailing list MIT-Scheme-devel@gnu.org http://lists

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-12-10 Thread Chris Hanson
I built this last night, starting from the 20090107 snapshot; it worked fine. FYI, I did the following, after removing all mit-scheme stuff from /usr/local/bin and /usr/local/lib: tar xzf mit-scheme-c-20090107.tar.gz cd mit-scheme-c-20090107/src etc/make-liarc.sh make install cd ./mit-scheme/

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-12-08 Thread Chris Hanson
I have Snow Leopard but haven't yet tried it. I'll give it a try later tonight if I have the energy. On Tue, Dec 8, 2009 at 4:52 PM, Arthur A. Gleckler wrote: >> By the way, if your goal is just to build the latest Scheme, you can >> start with >> >>

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-12-08 Thread Arthur A. Gleckler
> By the way, if your goal is just to build the latest Scheme, you can > start with > > > > by untarring it in $prefix and then running `./configure && make && > make install' in the microcode alone, without needing any p

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-12-08 Thread Taylor R Campbell
Date: Mon, 7 Dec 2009 19:27:25 -0800 From: "Arthur A. Gleckler" > (vector-ref (gc-space-status) 0) Result: 8. (See attached transcript.) So, alas, that looks right. I'm out of ideas then -- this must be caused by something that is different between Snow Leopard and GNU/Linux. Per

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-12-07 Thread Arthur A. Gleckler
> (vector-ref (gc-space-status) 0) Result: 8. (See attached transcript.) So, alas, that looks right. bash-3.2$ mit-scheme-c MIT/GNU Scheme running under MacOSX Type `^C' (control-C) followed by `H' to obtain information about interrupts. Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-12-07 Thread Arthur A. Gleckler
> And just to confirm one last detail, can you start up the 20090107 > version of Scheme with the C back end (i.e. the one you're using to > buil the x86-64 version), and tell me the value of the following > expression? > > (vector-ref (gc-space-status) 0) No problem. I'll check that tonight when

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-12-07 Thread Taylor R Campbell
Date: Mon, 7 Dec 2009 00:26:26 -0800 From: "Arthur A. Gleckler" 3) I ran . (I didn't run "Setup.sh" since "make-native.sh" does that.) (Oops.) It failed at exactly the same place as it did for Derrell: ; Compiling file: "crypto.bin" => "crypto.moc"... ;non-pointe

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-12-07 Thread Chris Hanson
This sounds like what I mentioned in my other email; probably you are using a 32-bit C system and it barfs on the size of that pointer. 2009/12/7 Arthur A. Gleckler : >> Just to clarify: do you mean that you had the 20090107 snapshot with >> the C back end installed, and you fetched a clean Git re

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-12-07 Thread Arthur A. Gleckler
> Just to clarify: do you mean that you had the 20090107 snapshot with > the C back end installed, and you fetched a clean Git repository, in > which you ran Setup.sh and etc/make-native.sh? And did it fail at the > same time as for Derrell Piper as shown in his transcript? Here are the steps I f

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-12-06 Thread Taylor R Campbell
Date: Sun, 6 Dec 2009 22:58:21 -0800 From: "Arthur A. Gleckler" Yes, I was just able to reproduce this: ;non-pointer datum out of range 288230376151711743 I'm running on Snow Leopard with a just-compiled build of the released C ".tgz" from 20090107. Just to clarify: do you

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-12-06 Thread Arthur A. Gleckler
> Hmm, I'm afraid I can't reproduce this -- but I don't have any > machines running Snow Leopard to test on.  Can anyone who does > reproduce this (using the 20090107 snapshot, which is what I have > been using to bootstrap the x86-64 port)? Yes, I was just able to reproduce this: ;non-pointer

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-11-17 Thread Derrell Piper
Thanks! This installed fine here as long as I built the microcode '-enable-native-code=x86-64'. Derrell On Nov 16, 2009, at 12:57 PM, Taylor R Campbell wrote: > I've put a provisional snapshot at[*] > > > > To use

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-11-16 Thread Taylor R Campbell
I've put a provisional snapshot at[*] To use this, you can do the following, provided that you have an existing Scheme installation (a 32-bit one will do -- it just needs to run the scripts in Setup.sh): git clone git:

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-11-15 Thread Taylor R Campbell
Hmm, I'm afraid I can't reproduce this -- but I don't have any machines running Snow Leopard to test on. Can anyone who does reproduce this (using the 20090107 snapshot, which is what I have been using to bootstrap the x86-64 port)? If not, I am inclined to suspect that it is caused by the heisen

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-11-14 Thread Taylor R Campbell
Date: Sat, 14 Nov 2009 16:06:15 -0500 From: Derrell Piper Oops. Let me try fixing the owner on boot-root/. If that still fails, I'll assume you meant what's in compiler/Makefile-fragment, yes? Never mind -- just try nuking the whole contents of the Git repository and starting ov

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-11-14 Thread Derrell Piper
I don't seem to have a compiler/Makefile-bundle: fluffy:106% more compiler/Makefile Makefile Makefile-fragment Makefile.in fluffy:106% more compiler/Makefile fluffy:106% pwd /Users/ddp/src/mit-scheme/src fluffy:107% find . -name Makefile-bundle fluffy:108% fluffy:108% make mai

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-11-14 Thread Taylor R Campbell
Try running `make maintainer-clean' in the src directory, and then starting over with `sh etc/make-native.sh'. Let me know if that makes any more progress. Also, can you tell me what's in compiler/Makefile-bundle, before you run `make maintainer-clean' and after `sh etc/make-native.sh' has made i

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-11-14 Thread Taylor R Campbell
Date: Sat, 14 Nov 2009 13:51:00 -0500 From: Derrell Piper Then I did a fresh 'git pull' (and a 'make distclean') and started the 'sh etc/make-native.sh' in src. Here's the end of that: [partial transcript] Can you show the whole transcript? What you showed suggests that somethi

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-11-14 Thread Derrell Piper
Thanks for your help. The 64-bit LIARC build went fine and I did a 'make install' on it and removed the older 32-bit native bits from /usr/local just to be on the safe side. Then I did a fresh 'git pull' (and a 'make distclean') and started the 'sh etc/make-native.sh' in src. Here's the end of

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-11-13 Thread Chris Hanson
On Snow Leopard you shouldn't need to override the default -arch option -- I'm pretty sure it was changed to x86_64. On Fri, Nov 13, 2009 at 10:03 PM, Taylor R Campbell wrote: >   Date: Fri, 13 Nov 2009 22:15:20 -0500 >   From: Derrell Piper > >   Can someone walk me through what I need to do to

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-11-13 Thread Chris Hanson
The simplest thing is to start from a recent liarc snapshot. I don't know if the one from January is good enough -- I haven't tried that. It sounds like Taylor thinks it will work. If not, send mail and I'll build you a liarc snapshot from git head. On Fri, Nov 13, 2009 at 7:15 PM, Derrell Piper

Re: [MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-11-13 Thread Taylor R Campbell
Date: Fri, 13 Nov 2009 22:15:20 -0500 From: Derrell Piper Can someone walk me through what I need to do to build 64-bit binaries on Snow Leopard? I saw the thread on how to build LIAR 64-bit, but what about the rest of it? I currently have the latest (January) 32-bit binaries

[MIT-Scheme-devel] building for X86_64 on OS X Snow Leopard (10.6)

2009-11-13 Thread Derrell Piper
Hi, Can someone walk me through what I need to do to build 64-bit binaries on Snow Leopard? I saw the thread on how to build LIAR 64-bit, but what about the rest of it? I currently have the latest (January) 32-bit binaries installed. I'd like to build from the latest git sources. Thanks, D