
Simon,
While we're at it, I found a typo in the
http://www.haskell.org/ghc/docs/latest/html/users_guide/win32-dlls.htmldocum...
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
Olivier Boudry wrote:
On Dec 3, 2007 10:07 AM, Simon Peyton-Jones
mailto:simonpj@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