mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 01:43:35 +00:00
Estimated hours taken: 7 Branches: main and 0.12 Port Mercury to MinGW. README.Cygwin: README.MS-Windows: README.MinGW: Move most of README.MS-Windows to README.Cygwin and make README.MS-Windows refer the user to README.Cygwin, README.MinGW or README.MS-VisualC. README.MinGW describes how to install the source distribution under MSYS. configure.in: Configure Mercury for MinGW. Most of the options are the same as Cygwin. boehm_gc/Makefile: Add a workaround to a problem with cp not working properly just after a file is created on MinGW. If cygpath is not present (which it isn't on MSYS), then use /bin/sh to invoke the C compiler. scripts/mmc.in: Do not use exec to invoke mercury_compile under MinGW. exec doesn't seem to understand Windows like paths with a drive letter in front. boehm_gc/if_not_there.c: Check if SIGPROF is defined, because it isn't on MinGW. trace/mercury_trace.c: On MinGW the external debugger is not enabled, because sockets don't work. This means that MR_trace_event_internal is invoked with the incorrect number of arguments. Fix this.