GHC generated dll makes Excel crash on exit.
Olivier Boudry
olivier.boudry at gmail.com
Tue Dec 4 08:36:54 EST 2007
Simon,
While we're at it, I found a typo in the
http://www.haskell.org/ghc/docs/latest/html/users_guide/win32-dlls.htmldocumentation
page. In
ghc-6.6 the flag to build DLLs was --mk-dll (two leading minus signs), the
new one is -shared (one leading minus sign) but in the doc it's written
"--shared"
ghc ––shared -o foo.dll bar.o baz.o wibble.a -lfooble
should be
ghc –shared -o foo.dll bar.o baz.o wibble.a -lfooble
There are 6 occurences of what smells like a copy/paste bug ;-)
Cheers,
Olivier.
On Dec 4, 2007 5:42 AM, Simon Marlow <simonmarhaskell at gmail.com> wrote:
> Olivier Boudry wrote:
> > On Dec 3, 2007 10:07 AM, Simon Peyton-Jones <simonpj at microsoft.com
> > <mailto:simonpj at microsoft.com>> wrote:
> >
> > It's not part of the Haskell documentation! The FFI page
> >
> > http://haskell.org/haskellwiki/GHC/Using_the_FFI
> >
> > is part of the "contributed documentation", linked from here:
> >
> > http://haskell.org/haskellwiki/GHC
> >
> >
> >
> > So it absolutely is a Wiki, and should be editable by you (assuming
> > you log into the wiki).
> >
> >
> >
> > If not, let's see why not. It'd be better to put your new material
> > in with the other FFI stuff; it'll be easier to find that way.
> >
> >
> >
> > THanks
> >
> >
> >
> > SImon
> >
> >
> > Simon,
> >
> > I was talking about this page:
> > http://www.haskell.org/ghc/dist/current/docs/users_guide/win32-dlls.html
> > which is more Win32/Excel specific and is part of the GHC documentation.
> >
> > But I agree it's easier to keep everything in one place so I will move
> > my stuff to the link you mentioned.
>
> Yes, I moved some of the wiki documentation into the user's guide before
> 6.8.1, but didn't delete the wiki at the time because 6.8.1 wasn't
> released
> yet. Now we have duplication, and I guess I (or someone at least) should
> sort it out...
>
> Cheers,
> Simon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20071204/ef0f47d2/attachment.htm
More information about the Glasgow-haskell-users
mailing list