Re: Success report: Leopard powerpc

2008-03-18 Thread Christian Maeder
Alfonso Acosta wrote:

 It would be awsome if a PPC/Lepoard installation package was made
 available from GHC's page.

I can offer
http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets/mac/ghcs/ghc-6.8.2-powerpc-apple-darwin-static-libs.tar.bz2
but also see http://hackage.haskell.org/trac/ghc/ticket/2031

I've also made a binary-dist that uses the GMP and GNUreadline frameworks
http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets/mac/ghcs/ghc-6.8.2-powerpc-apple-darwin-leopard.tar.bz2

I've tried to compile it on leopard to be useable on tiger, too, by using:

SRC_HC_OPTS += -optc-isysroot -optc/Developer/SDKs/MacOSX10.4u.sdk
-optl-isysroot -optl/Developer/SDKs/MacOSX10.4u.sdk
-optl-macosx_version_min=10.4
-optl-Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk

But it still does not run under tiger.

While it compiles and links on tiger, the dynamic linker complains when
starting the binary (see below), although the symbol _alloc_blocks is
part of the created binary (by inspecting it using nm).

So, use the above binary-dists at your own risk.

I've still no idea, what kind of libs for gmp and readline I should use:
static ones, frameworks, or dylibs installed under /opt/local/lib (or
possibly elsewhere)

Cheers Christian

bigmac:/local/home/maeder/haskell/uni maeder$ ghc --make -no-recomp Setup.hs
[1 of 1] Compiling Main ( Setup.hs, Setup.o )
Linking Setup ...
bigmac:/local/home/maeder/haskell/uni maeder$ ./Setup
dyld: Symbol not found: _alloc_blocks
  Referenced from: /local/home/maeder/haskell/uni/./Setup
  Expected in: /usr/lib/libSystem.B.dylib

Trace/BPT trap

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Success report: Leopard powerpc

2008-03-17 Thread Chris Kuklewicz
I used both ghc-6.6.1 and macports to create a working ghc-6.8.2 on OS X 10.5.2 
on a powerpc G4 laptop.

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Success report: Leopard powerpc

2008-03-17 Thread Gregory Wright


Excellent news.  Thanks to you and Christian for trying it out.

-Greg

On Mar 17, 2008, at 4:12 PM, Chris Kuklewicz wrote:

I used both ghc-6.6.1 and macports to create a working ghc-6.8.2 on  
OS X 10.5.2 on a powerpc G4 laptop.

___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Success report: Leopard powerpc

2008-03-17 Thread Alfonso Acosta
On 3/17/08, Chris Kuklewicz [EMAIL PROTECTED] wrote:
 I used both ghc-6.6.1 and macports to create a working ghc-6.8.2 on OS X 
 10.5.2
 on a powerpc G4 laptop.

Great!

It would be awsome if a PPC/Lepoard installation package was made
available from GHC's page.
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users