[arch-haskell] Example PKGBUILD

Lewis Cawthorne llcawthorne at archlinux.us
Sat Oct 12 07:35:53 UTC 2013


On 01/22/2010 01:21 PM, Don Stewart wrote:
> That may no longer be true with 6.12... anyone running ghc 6.12 want to
> give me the output of: ldd hello
>
> on a helloworld haskell program?
> _______________________________________________

Using 6.12.1 according to GHCi.  Hope this helps!

Program is simply main = putStrLn "Hello World"

cawthorn ~/programming/haskell/test $ ghc -o hello hello.hs
cawthorn ~/programming/haskell/test $ ./hello
Hello World!
cawthorn ~/programming/haskell/test $ ldd hello
	linux-vdso.so.1 =>  (0x00007fff96bff000)
	librt.so.1 => /lib/librt.so.1 (0x00007f2203653000)
	libutil.so.1 => /lib/libutil.so.1 (0x00007f2203450000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007f220324c000)
	libgmp.so.3 => /usr/lib/libgmp.so.3 (0x00007f2202ff1000)
	libm.so.6 => /lib/libm.so.6 (0x00007f2202d70000)
	libc.so.6 => /lib/libc.so.6 (0x00007f2202a19000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007f22027fd000)
	/lib/ld-linux-x86-64.so.2 (0x00007f220385b000)



More information about the arch-haskell mailing list