[m-users.] compiling under cygwin

Julien Fischer jfischer at opturion.com
Sat Aug 13 14:32:40 AEST 2016


Hi,

On Fri, 12 Aug 2016, Maxime Van Assche wrote:

> There seems to be a small issue compiling the 14.01.1 compiler under
> latest Cygwin packages (gcc 5.4.0) With the fd_set type, not defined
> in sys/types.h anymore?  Any clues?
>
> Thanks,
>
>
> /tmp/mmake.EjyJMc:1075: warning: undefined variable 'EXTRAOPTS'
> ../scripts/mgnuc --no-mercury-stdlib-dir --grade hlc.gc.pregen       -- -DNDEBUG -DNEW -DCLEAR_CACHES -DCOMPUTED_TABLE -DEQUAL_TEST -DUSE_ITE_CONSTANT -DRESTRICT_SET    -I../browser -I../library -I../runtime -I../boehm_gc -I../boehm_gc/include    -c bryant.c -o bryant.o
> In file included from ../runtime/mercury_tabling.h:22:0,
>                 from ../runtime/mercury_stack_layout.h:42,
>                 from ../runtime/mercury_ho_call.h:24,
>                 from ../runtime/mercury.h:36,
>                 from ../runtime/mercury_imp.h:42,
>                 from bryant.c:107:
> ../runtime/mercury_reg_workarounds.h:62:19: error: unknown type name 'fd_set'
>   void MR_fd_zero(fd_set *fdset);

Is this the i686 or x86_64 version of Cygwin?

Julien.


More information about the users mailing list