On Wed, 28 Nov 2001, H . Merijn Brand wrote:

> cc -DDEBUGGING +DAportable -Ae -D_HPUX_SOURCE -I/pro/local/include \
>       -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I./include \
>       -o platform.o -c platform.c
> cpp: "platform.c", line 6: error 4036: Can't open include file 'dlfcn.h'.
> make: *** [platform.o] Error 1

This could temporarily be handled by wrapping the dlopen() stuff in
#ifdef I_DLFCN and #ifdef HAS_DLOPEN (or whatever the perl6 name is for
those CPP #defines), but that probably wouldn't be worthwhile to pursue
too much.

Longer term, James Mastros was working on splitting out the larger
platform-specific chunks (e.g. dynaloading, async I/O, time functions,
etc.).  See the earlier thread "Platform splitting, mark 2" for details.  
I"m not sure of the current status, but it seemed a more useful way to go
than massive surgery on the generic platform.c.

-- 
    Andy Dougherty              [EMAIL PROTECTED]
    Dept. of Physics
    Lafayette College, Easton PA 18042

Reply via email to