Re: ghc on on macbook pro (fwd)
On 4-Mar-06, at 3:33 PM, Geoffrey Alan Washburn wrote: I don't have MacOS X Intel handy to verify, but I was under the impression that Rosetta was only automagically invoked by the operating system on application bundles. However, there is a dearth of information regarding this point on the web, so I could be wrong. Fortunately, you are :-). It's automagically invoked by the kernel's executable loader whenever any Mach-O binary is loaded that only has ppc code. You're right about the lack of (easily available) information though. A friend of mine was at the conference when they announced the switch, so I just asked him to try it out; I have found no place on the web that spells it out. Cheers, Wolfgang ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: ghc on on macbook pro (fwd)
On 4-Mar-06, at 11:07 AM, S. Alexander Jacobson wrote: Does ghc work on the (intel) macbooks or does it need to be rebuilt? Will code compiled for the old macs work on the macbooks or does it need to be recompiled? Yes and no. GHC, and programs compiled by it, should run without recompiling under Apple's "Rosetta" emulator, but that will be slower than on (powerpc) PowerBooks. A port to Mac OS X on Intel is in progress and mostly finished. GHC 6.6 will support building native Intel code for the new Macs; if there is sufficient demand, I could also backport this support to the GHC 6.4.x line once it's finished. Cheers, Wolfgang ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: ghc on on macbook pro (fwd)
S. Alexander Jacobson wrote: Does ghc work on the (intel) macbooks or does it need to be rebuilt? If you mean a binary that had previously, yes, it would need to be rebuilt. Will code compiled for the old macs work on the macbooks or does it need to be recompiled? I don't expect that ghc has any support for building "universal binaries", so in all likelihood yes. ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Re: Need help to call ord in Data.Char
On Saturday 04 March 2006 11:03 am, Omar Alvi wrote: > Hello, > > I am new to Haskell(GHC). When i try to call the function ord which is in > Data.Char from Prelude prompt. I get the following error. Not in scope ord. > Hope to hear from someone soon. From your comments, I assume you're using ghci. You can use the ":module" command to bring more modules into scope. For example ":module +Data.Char" will bring the "Data.Char" module into scope. $ ghci ___ ___ _ / _ \ /\ /\/ __(_) / /_\// /_/ / / | | GHC Interactive, version 6.4.1, for Haskell 98. / /_\\/ __ / /___| | http://www.haskell.org/ghc/ \/\/ /_/\/|_| Type :? for help. Loading package base-1.0 ... linking ... done. Prelude> :module +Data.Char Prelude Data.Char> :t ord ord :: Char -> Int Prelude Data.Char> :q Leaving GHCi. Rob Dockins ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
ghc on on macbook pro (fwd)
Does ghc work on the (intel) macbooks or does it need to be rebuilt? Will code compiled for the old macs work on the macbooks or does it need to be recompiled? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Need help to call ord in Data.Char
Hello, I am new to Haskell(GHC). When i try to call the function ord which is in Data.Char from Prelude prompt. I get the following error. Not in scope ord. Hope to hear from someone soon. Thanks, Omar ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users