Commit Graph

28 Commits

Author SHA1 Message Date
Julien Fischer
5460b77691 Update some links.
README.MS-VisualC:
README.MS-Windows:
README.MinGW:
     As above.

     Fix spelling.
2023-01-22 19:35:40 +11:00
Julien Fischer
0d1126f873 Update some URLs in README.MinGW:
README.MinGW:
    As above.
2021-05-23 21:17:02 +10:00
Julien Fischer
89f8651c7c Fix a typo.
README.MinGW:
    As above.
2021-05-23 04:09:42 +10:00
Peter Wang
fc4c747386 Delete references to Erlang backend in documentation.
.INSTALL.in:
.nocopyright:
BUGS:
README.Erlang:
README.MS-VisualC:
README.MacOS:
README.MinGW:
README.md:
doc/reference_manual.texi:
doc/user_guide.texi:
    As above.

NEWS:
    Announce removal of Erlang backend.
2020-10-27 10:56:10 +11:00
Julien Fischer
6e32d80a5e Improve support for MSYS2 builds.
MSYS2 provides a POSIX like environment and package manager for Windows.
It packages up the MinGW-w64 port of GCC.  (MSYS2 is separate from the
original MSYS.)

Make it possible to build Mercury under MSYS2 with the MinGW-w64 GCC
without having to resort to cross compilation.

configure.ac:
    Recognise the x86_64-pc-mingw* architecture returned by config.guess
    under MSYS2.

    If we are building the MSVC port under MSYS2, set up the flags for
    threads appropriately.

scripts/ml.in:
    Pass libraries to the linker correctly for static linking on all the
    different MinGW configurations.

README.MinGW:
    Update documentation for MinGW ports.
2020-01-24 17:40:22 +11:00
Julien Fischer
58478f3807 Fix a spelling error in README.MinGW:
README.MinGW:
    As above.
2015-09-03 13:07:15 +10:00
Peter Wang
a767199ef0 Add instructions for MSYS2 environment with MinGW-w64.
README.MinGW:
	Use "MinGW-w64" spelling for the project.

	Link to MSYS2 installer and describe how to install gcc in it.

	Move optional Java/C#/Erlang steps.

README.MS-Windows:
	Mention MSYS2 as a possible build environment.
2015-08-31 17:20:05 +10:00
Julien Fischer
0b25836c80 Minor documentation fix.
README.MinGW:
    Fix a typo.
2015-08-23 14:55:50 +10:00
Julien Fischer
745201f576 Reduce the number of publicly documented base grades.
Currently, 14 out of a possible 15 base grades are publicly documented (to some
extent).  This changes hides the user facing documentation for seven of the
less useful base grades, namely: asm_jump, fast, jump, hlc_nest, hl, hl_nest
and il.

Change the configure script so that it will not automatically set the LLDS base
grade to asm_jump, fast or jump.  (Developers can still manually select these
base grades using configure's '--with-llds-base-grade' option.)

Hide the user facing documentation for the .pic_reg and .agc grade components.
The former is an internal thing and the latter is an experimental feature
(which currently doesn't work anyway).

configure.ac:
	When choosing the LLDS base grade, use the first one of asm_fast,
	reg or none that is supported.  Do not attempt to use asm_jump,
	fast or jump.

	Disable the documentation for the '--enable-agc-grades' option.
	(The option itself is still supported.)

compiler/options.m:
doc/user_guide.texi:
	Comment out, ignore or delete (as appropriate) documentation related
	to the seven base grades and two grade components mentioned above.

	Delete a left-over reference to the MPS collector.

	Delete references to the IL backend in various spots.

	Add reference to the Erlang backend where appropriate.

.INSTALL.in:
	Delete the description of the '--enable-agc-grades' option.

README.MinGW:
README.MinGW-cross:
	Delete references to the asm_jump grade.
2015-04-16 11:30:43 +10:00
Julien Fischer
c60aab937b Fix and update README files.
README.CSharp:
README.Java:
	The foreign_proc examples here would result in a purity error.
	Fix them so they do not.

README.Cygwin:
	Update URLs.

README.AIX:
	Delete the bit about the -ansi option; we no longer pass that to
	the C compiler anyway.

README.MinGW:
README.MS-VisualC:
	Fix grammar.
2015-01-05 13:27:26 +11:00
Peter Wang
11bce66d86 Add warnings about issues with 64-bit Windows and low-level C grades.
README.MinGW:
README.MinGW-cross:
	As above.
2014-03-25 12:34:01 +11:00
Julien Fischer
c5f35d84f7 Document workaround for bug #303.
README.Java:
    Document the workaround for bug #303.

README.MinGW:
    Wrap a couple of overlong lines.
2013-11-25 02:19:26 +11:00
Julien Fischer
5b03e7673c Announce support for MinGW64.
NEWS:
	As above.

README.MinGW:
	Extend the instructions here to describe to build the MinGW64
	port of Mercury.  (They are pretty much identical to those
	of the MinGW port, except for one additional configuration
	option.)

	Delete the stuff about configure invoking the Microsoft
	Management Console; that was fixed some time ago.
2013-04-08 10:54:01 +10:00
Julien Fischer
2f7df50e18 Mention an issue to do with building MinGW targeted compilers
Branches: main, 11.01

README.MinGW:
	Mention an issue to do with building MinGW targeted compilers
	in recent versions of Cygwin.
2011-02-16 01:17:24 +00:00
Julien Fischer
9efafed67e Document how to set up MSYS to build the erlang, java, and csharp grades.
Branches: main, 11.01

README.MinGW:
	Document how to set up MSYS to build the erlang, java, and csharp grades.
	(For the latter we only cover .NET, not Mono.)
2011-02-15 08:04:44 +00:00
Julien Fischer
42c188ae46 Update README.MinGW
Branches: main, 11.01

Update README.MinGW

README.MinGW:
	Assume that at mingw-get based installer is being is used.

	Delete a note about the Microsoft Management Console; configure
	now contains a workaround for that problem.

	Delete a note regarding an old version of autconf that doesn't
	work.  The autoconf supplied with recent versions of MinGW does
	work.
2011-01-05 04:51:30 +00:00
Julien Fischer
848ef05b74 Add a note about bison on MinGW.
Branches: main, 10.04

README.MinGW:
	Add a note about bison on MinGW.
2010-07-13 09:19:36 +00:00
Peter Wang
6ad6d12260 Filter out warning message from gcc 4.x which are emitted when compiling
Branches: main, 10.04

Filter out warning message from gcc 4.x which are emitted when compiling
low-level C code using assembler labels, at least until a better fix is
available.

util/Mmakefile:
util/mfiltercc.c:
        Add a new program, mfiltercc.

compiler/options.m:
        Add `--filtercc-command' option (undocumented).

compiler/compile_target_code.m:
        Filter compiler output with mfiltercc if using assembler labels.

scripts/mgnuc.in:
        Filter compiler output with mfiltercc if using assembler labels, but
        only if mfiltercc can be found on the $PATH.  The bootstrap compiler
        may not have mfiltercc.

.mercury-compiler.spec.in:
Makefile:
README.MinGW:
bindist/Mmakefile:
bindist/bindist.Makefile.in:
scripts/mercury_config.in:
        Mention mfiltercc in various places.
2010-07-09 07:10:16 +00:00
Peter Wang
51a0ea4e05 Add URL to working version of autoconf.
Branches: main

README.MinGW:
        Add URL to working version of autoconf.
2009-10-01 01:51:14 +00:00
Peter Wang
656fa531e8 Improvements on Windows.
Branches: main

Improvements on Windows.

compiler/compile_target_code.m:
compiler/make.util.m:
        The shell scripts that we generate for Java and Erlang programs
        shouldn't have any ".exe" extension.

compiler/module_cmds.m:
        Account for "\" directory separators in list_class_files_for_jar.

configure.in:
        When looking for a bootstrap "mmc", assume it's not in a Windows
        directory as that is likely to be the Microsoft Management Console
        instead, and when executed pop ups an error message which must be
        closed manually.

library/io.m:
        Make io.check_file_accessibility not check the `execute' bit on
        Windows (other than Cygwin).  It was never supported, and on Vista
        returns an invalid argument error.

README.MinGW:
        Update MinGW installation instructions (simplified).
2009-09-30 07:13:21 +00:00
Peter Ross
87170ebdda Update to correct version of the autoconf package to use.
Estimated hours taken: 0.1
Branches: main

README.MinGW:
	Update to correct version of the autoconf package to use.
2009-04-27 03:04:07 +00:00
Peter Ross
df6a0724d5 Update MinGW readme with more exact steps about how to install
README.MinGW:
	Update MinGW readme with more exact steps about how to install
	MSYS, as the MSYS documentation is rubbish.
2009-04-25 00:09:41 +00:00
Peter Ross
bc85aed613 Get the sytem building under mingw and cygwin.
Estimated hours taken: 6
Branches: main

Get the sytem building under mingw and cygwin.

README.MinGW:
	Document the new packages you need to install for the
	system to build.

configure.in:
runtime/mercury_conf.h.in:
	Test for the presence of the setenv and putenv functions.

configure.in:
	Comment out some code which breaks with autoconf 2.60.

runtime/mercury_runtime_util.c:
runtime/mercury_runtime_util.h:
	Add MR_setenv which is an implementation of setenv in terms
	of either setenv or putenv.

runtime/mercury_trace_base.c:
	Call MR_setenv.

trace/Mmakefile:
	Mingw and cygwin only have flex 2.5.4 available, so use
	the options compatible with that version.
2006-11-28 06:57:43 +00:00
Ian MacLarty
fc93718124 Fix a typo.
Estimated hours taken: 0.1
Branches: main

README.MinGW:
	Fix a typo.
2006-09-12 00:29:13 +00:00
Julien Fischer
76c48ead94 Put angle brackets around URLs.
Estimated hours taken: 0.5 (by Jonathan Morgan) + 0.2 (by myself)
Branches: main

README.Cygwin:
	Put angle brackets around URLs.

README.Dotnet:
	Put angle brackets around URLs and fix inconsistent indentation.

	Mention that the IL backend has been tested on .NET 1.1, as well
 	as 1.0.

	Fix the C# foreign_proc example so that it is valid Mercury.

README.MinGW:
README.MS-VisualC:
	Mention that the Visual C backend may need the Platform SDK.

	Don't be so specific about the Mercury version.

	s/ie/i.e./
2006-03-07 06:40:39 +00:00
Ian MacLarty
fd0b055441 Document which version of MinGW should be used to compiler Mercury.
Estimated hours taken: 0.1
Branches: main and 0.12

README.MinGW:
	Document which version of MinGW should be used to compiler Mercury.
2005-12-09 14:16:18 +00:00
Julien Fischer
570f2aa3c5 Update the documentation to reflect the fact that mlds_to_c.m
Estimated hours taken: 0.4
Branches: main

util/mkinit.c:
	Update the documentation to reflect the fact that mlds_to_c.m
	also generates ENDINIT comments.

	Fix a typo.

README.MinGW:
library/io.m:
library/store.m:
runtime/mercury.h:
runtime/mercry_wrapper.c:
runtime/mercury_goto.h:
	Fix some typos.
2005-10-11 04:45:52 +00:00
Ian MacLarty
2a01606e30 Port Mercury to MinGW.
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.
2005-10-04 10:34:38 +00:00