Shared Libraries in ghci

Simon Peyton-Jones simonpj at microsoft.com
Fri Feb 8 06:12:38 EST 2008


Any chance of documenting your experience on the GHC user documentation page?
        http://haskell.org/haskellwiki/GHC (under "collaborative documentation")
A kind of how-to that worked for you, with pointers to relevant manual parts etc.

Simon


| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-haskell-users-bounces at haskell.org] On Behalf Of
| Bernd Brassel
| Sent: 08 February 2008 10:53
| To: Simon Marlow
| Cc: glasgow-haskell-users at haskell.org
| Subject: Re: Shared Libraries in ghci
|
| Simon Marlow wrote:
|
| > Normally it's done like this:
| >
| >  $ gcc -fPIC -c foo.c
| >  $ gcc -shared -o libfoo.so foo.o
| >
| > Hope this helps.
|
| Right away! Big Thanks!
|
| Bernd
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


More information about the Glasgow-haskell-users mailing list