Building GHC for Mac OS X 10.5

2011-10-13 Thread Sean Leather
After many years, I have once again attempted to build GHC from source. The experience went much easier than in the past. This time, my system is running the now-old 10.5 (Leopard) using Xcode 3.1.4. I'm probably the only one who wants to build on 10.5, but I still appreciate the fact that GHC

Re: Building GHC for Mac OS X 10.5

2011-10-13 Thread Brandon Allbery
On Thu, Oct 13, 2011 at 11:18, Sean Leather leat...@cs.uu.nl wrote: This time, my system is running the now-old 10.5 (Leopard) using Xcode 3.1.4. I'm probably the only one who wants to build on 10.5, but I still appreciate the fact that GHC can be built on a variety of systems, allowing more

Re: Building GHC on Mac OS X or Fixing readline

2003-11-05 Thread Kennis Koldewyn
Just to let everyone know how this all turned out: 1. My build of GHC 6.0.1 using gcc 3.1 completed successfully, and Gregory's hint to run configure as: ./configure --with-gcc=gcc3 --with-ghc='ghc -pgmP gcc3 -E -traditional' was the only change I needed to get it to work. 2. My problem

Re: Building GHC on Mac OS X or Fixing readline

2003-10-31 Thread Gregory Wright
Hi Kennis, I've just made the GHC-6.0.1 port under darwinports work, so I know what the problem is. (Actually, I know what the problem is because Wolfgang told me :-) ) You're using gcc-3.3 and need to either compile HEAD from cvs or force the build to use gcc-3.1. Try running configure as

Re: Building GHC on Mac OS X or Fixing readline

2003-10-31 Thread Kennis Koldewyn
On Friday, Oct 31, 2003, at 08:56, Gregory Wright wrote: I've just made the GHC-6.0.1 port under darwinports work, so I know what the problem is. (Actually, I know what the problem is because Wolfgang told me :-) ) You're using gcc-3.3 and need to either compile HEAD from cvs or force the build

Re: Building GHC on Mac OS X or Fixing readline

2003-10-31 Thread Gregory Wright
On Oct 31, 2003, at 2:15 PM, Kennis Koldewyn wrote: On Friday, Oct 31, 2003, at 08:56, Gregory Wright wrote: I've just made the GHC-6.0.1 port under darwinports work, so I know what the problem is. (Actually, I know what the problem is because Wolfgang told me :-) ) You're using gcc-3.3 and

Re: More problems compiling GHC on Mac OS X

2003-03-17 Thread Wolfgang Thaller
As far as I can tell right now, sendfile is not supported on Mac OS X. There's no manual page, and it doesn't seem to be in any sytem library. There is a prototype in sys/socket.h, but it's wrapped in an #ifdef that's never #defined. When I last build the HEAD here, I didn't have any problems -

Re: More problems compiling GHC on Mac OS X

2003-03-17 Thread Kirsten Chevalier
On Mon, Mar 17, 2003 at 11:40:58AM +0100, Wolfgang Thaller wrote: As far as I can tell right now, sendfile is not supported on Mac OS X. There's no manual page, and it doesn't seem to be in any sytem library. There is a prototype in sys/socket.h, but it's wrapped in an #ifdef that's never

Re: More problems compiling GHC on Mac OS X

2003-03-17 Thread Michael Weber
* Kirsten Chevalier [EMAIL PROTECTED] [2003-03-17T01:09-0800]: configure says: checking for sendfile in sys/sendfile.h... no checking for sendfile in sys/socket.h... no I tried building again just now, just to be sure, and still got the same error message (Sendfile.hsc:19: Variable not in

Re: More problems compiling GHC on Mac OS X

2003-03-17 Thread Volker Stolz
Am 17. Mar 2003 um 02:04 CET schrieb Kirsten Chevalier: On Sun, Mar 16, 2003 at 04:09:31PM +0100, Volker Stolz wrote: In local.glasgow-haskell-users, you wrote: Sendfile.hsc:94: Couldn't match `IO ()' against `Fd - Fd - Int - Int - IO ()' Should be fixed in CVS now, thanks!

Re: More problems compiling GHC on Mac OS X

2003-03-17 Thread Kirsten Chevalier
On Mon, Mar 17, 2003 at 11:18:21AM +0100, Volker Stolz wrote: Am 17. Mar 2003 um 02:04 CET schrieb Kirsten Chevalier: On Sun, Mar 16, 2003 at 04:09:31PM +0100, Volker Stolz wrote: In local.glasgow-haskell-users, you wrote: Sendfile.hsc:94: Couldn't match `IO ()' against `Fd - Fd

More problems compiling GHC on Mac OS X

2003-03-16 Thread Kirsten Chevalier
I'm getting the following error message trying to compile the latest version of GHC on Mac OS 10.2.1, using GHC 5.04.2 installed from binaries: ../../ghc/compiler/ghc-inplace -H16m -O -Iinclude -package-name unix -O -Rghc-timing -p\ ackage base -split-objs-c System/Sendfile.hs -o

Re: More problems compiling GHC on Mac OS X

2003-03-16 Thread Volker Stolz
In local.glasgow-haskell-users, you wrote: Sendfile.hsc:94: Couldn't match `IO ()' against `Fd - Fd - Int - Int - IO ()' Should be fixed in CVS now, thanks! -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME rage against the finite state machine

Re: More problems compiling GHC on Mac OS X

2003-03-16 Thread Kirsten Chevalier
On Sun, Mar 16, 2003 at 04:09:31PM +0100, Volker Stolz wrote: In local.glasgow-haskell-users, you wrote: Sendfile.hsc:94: Couldn't match `IO ()' against `Fd - Fd - Int - Int - IO ()' Should be fixed in CVS now, thanks! Now I'm getting the following error instead:

RE: Can't build GHC on Mac OS X

2003-03-14 Thread Simon Marlow
I installed GHC 5.04.2 from binaries on my machine (running Mac OS 10.2.1 and gcc 3.1) and proceeded to try to build the latest version of GHC from cvs, resulting in the following error message: [lots of stuff snipped] --

Can't build GHC on Mac OS X

2003-03-13 Thread Kirsten Chevalier
Hi, I installed GHC 5.04.2 from binaries on my machine (running Mac OS 10.2.1 and gcc 3.1) and proceeded to try to build the latest version of GHC from cvs, resulting in the following error message: [lots of stuff snipped]

Re: GHC on Mac OS X

2002-03-03 Thread Wolfgang Thaller
I've meanwhile discovered a problem with my GHC compile for PowerPC. While it manages to compile simple programs and the FFI seems to work (for my simple test program), many programs compiled by it abort with a message like: scavenge_stack: weird activation record found on stack: xx where xx is