#525 in hdirect stdcall not supported on PPC Mac OS X 10.3


I'm building CVS HEAD from 2005-10-05 with 6.4.1.

I get the error in the attached log.

I'm not in a hurry, but in a couple of months one of my
projects will be to the point that I would like to call
some Haskell code from another project written in C.
If there's anything I can do to help with getting
hdirect supported on

Mac PowerBook G4
Mac OS X 10.3.9 "panther"

Please let me know. (I probably will upgrade to 10.4
"Tiger" in the near future.)

It would be nice if the build could fail safely (ie,
not produce the hdirect library, but not stop the rest
of the fptools build). There doesn't seem to be a way
to disable the feature via configure.

Stephen Turnbull


  • Stephen J. Turnbull

    log of failed build of fptools/hdirect/lib

  • Simon Marlow

    Simon Marlow - 2005-10-07

    Logged In: YES

    This isn't an authoritative answer, but it is likely to be
    the case that H/Direct has never been ported to MacOS X, and
    H/Direct is not being actively maintained at the moment.

    Why do you need H/Direct? If you just need to call Haskell
    from C, there are a variety of ways to achieve that, with
    and without extra tools.

  • Stephen J. Turnbull

    Logged In: YES

    Thanks for the quick reply.

    I don't need HDirect specifically. I may want to call
    Haskell code from XEmacs, someday. I checked out fptools
    from CVS, the build broke in hdirect/lib, I looked to see if
    I needed it. Its docs claim to be the "way of the future"
    in Haskell FFI, so I concluded (a) I don't need it now and
    (b) I will very likely want (something like) it in the future.

    I reported this because "cvs checkout fptools; cd fptools;
    ./configure; make" seems like a pretty natural approach with
    a half-dozen prerequisite projects, and the build apparently
    breaks. (I wonder if make install would work, that probably
    chokes in the same place.)

  • Simon Marlow

    Simon Marlow - 2005-10-07
    • status: open --> closed
  • Simon Marlow

    Simon Marlow - 2005-10-07
    • status: closed --> closed-wont-fix

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks