Malcolm Wallace wrote:
Ross Paterson <[EMAIL PROTECTED]> wrote:
* __hscore_long_path_size is not portable beyond GHC
How so? It's defined in HsBase.h (or PrelIOUtils.c).
I was going to ask "what is this HsBase.h of which you speak?"
But then I found it in packages/base/include.
However, it is not mentioned in System/Directory.hs, either as a
#include, or as a specifier on any FFI decl. So how was I supposed to
know what header file to look for?
Even looking at HsBase.h, it appears to depend on other .h files which
do not exist (HsBaseConfig.h?). I can only assume that the latter is
supposed to be created by some build system or other, but no-one has
ever taught the nhc98 build system to do so.
It's mentioned in base.cabal:
includes: HsBase.h
and HsBaseConfig.h is generated by the configure script, which is run as part of
'./setup configure'.
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc