Pugs with GHC 6.12

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Pugs with GHC 6.12

Simon  Thompson

Has anyone successfully compiled Pugs with GHC 6.12? The Pugs page suggests that it compiles, but it falls to link (and therefore build) when I try it.

Thanks!

Simon T._______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: Pugs with GHC 6.12

Daniel Fischer-4
On Tuesday 01 June 2010 16:58:53, Simon Thompson wrote:
> Has anyone successfully compiled Pugs with GHC 6.12?

$ pugs +RTS --info
 [("GHC RTS", "YES")
 ,("GHC version", "6.12.1")
 ,("RTS way", "rts_v")
 ,("Host platform", "i386-unknown-linux")
 ,("Host architecture", "i386")
 ,("Host OS", "linux")
 ,("Host vendor", "unknown")
 ,("Build platform", "i386-unknown-linux")
 ,("Build architecture", "i386")
 ,("Build OS", "linux")
 ,("Build vendor", "unknown")
 ,("Target platform", "i386-unknown-linux")
 ,("Target architecture", "i386")
 ,("Target OS", "linux")
 ,("Target vendor", "unknown")
 ,("Word size", "32")
 ,("Compiler unregisterised", "NO")
 ,("Tables next to code", "YES")
 ]

> The Pugs page
> suggests that it compiles, but it falls to link (and therefore build)
> when I try it.
>
> Thanks!
>
> Simon T.

Cheers,
Daniel

_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe
Reply | Threaded
Open this post in threaded view
|

Re: Pugs with GHC 6.12

Christian Maeder-2
In reply to this post by Simon Thompson
Simon Thompson schrieb:
> Has anyone successfully compiled Pugs with GHC 6.12? The Pugs page suggests that it compiles, but it falls to link (and therefore build) when I try it.

Your error message would help.

I was able to compile and link pugs (Version: 6.2.13.15)
using ghc-6.12.2.20100521 by:

  cabal install pugs

The libraries displayed by "ldd" on the binary are:

        linux-gate.so.1 =>  (0xffffe000)
        libperl.so =>
/usr/lib/perl5/5.10.0/i586-linux-thread-multi/CORE/libperl.so (0xb7560000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb751a000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7515000)
        libm.so.6 => /lib/libm.so.6 (0xb74ec000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb74b4000)
        libutil.so.1 => /lib/libutil.so.1 (0xb74b0000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7496000)
        libc.so.6 => /lib/libc.so.6 (0xb733a000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0xb72f0000)
        librt.so.1 => /lib/librt.so.1 (0xb72e6000)
        libgmp.so.3 => /usr/lib/libgmp.so.3 (0xb72a8000)
        /lib/ld-linux.so.2 (0xb77d5000)

HTH Christian

>
> Thanks!
>
> Simon T.
_______________________________________________
Haskell-Cafe mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/haskell-cafe