Commit Graph

29 Commits (master)

Author SHA1 Message Date
David Allsopp 75983ab9b1 Ensure Makefile.config gets Windows-style prefix
Prefix may be passed to configure using a Cygwin-style PATH (e.g.
`./configure --prefix ~/local`). Use cygpath to ensure that the correct
version gets written to Makefile.config, or the resulting compiler has
an invalid default stdlib path.
2019-11-25 14:14:59 +01:00
Sébastien Hinderer 987b0814d7 Let make's default target build the compiler
This commit makes it possible to build the OCaml compiler according to
its configuration by simply runnning make. There is no need to specify
neither world nor world.opt explicitly, although the two targets
remain available.

This commit also introduces (and starts making use of) the
NATIVE_COMPILER build variable whosse value is true when the native
compiler is enabled and false otherwise.
2019-09-30 16:01:29 +02:00
jakoblichtenberg 3b96ea0f33
Update README.win32.adoc 2019-05-06 10:16:14 -07:00
Jérémie Dimino c413136fa3 Delete otherlib/{graph,win32graph} (#2318)
The Graphics library is now distributed as a separate package.
The sources are at https://github.com/ocaml/graphics .

Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
2019-03-18 15:05:57 +01:00
Sébastien Hinderer cc3f70b705 Use autoconf to generate the compiler's configuration script 2018-12-21 16:02:47 +01:00
Sébastien Hinderer ba6362a07d Move config/Makefile to Makefile.config
In order to prepare the transition to autoconf, this commit moves the
configuration Makefile out of the config directory which will disappear
and gives it the name it will have once intstalled, namely Makefile.config.
2018-09-17 14:23:35 +02:00
Sébastien Hinderer d3e73595e5 Merge the asmrun and byterun directories into the runtime directory 2018-06-28 17:50:33 +02:00
David Allsopp b5d1929e87 Whitespace and overlong line fixes. 2018-06-14 15:15:34 +01:00
Bernhard Schommer c339f7f7ae Document usage of Build Tools for Visual Studio
The Build Tools for Visual Studio also include a C/C++ compiler and thus
can similar to the old SDK be used for installing ocaml under windows.
2018-05-04 21:43:45 +02:00
David Allsopp 410ba0b342 Remove -static-libgcc link flag from mingw32 port (#1535)
* MPR#6411 revisited

Including -static-libgcc in all link instructions prevents C++ exceptions
from ever working. mmap.o is the only affected unit, since it needs
auxiliary functions to perform division of an __int64. A better fix is to
specify --static-libgcc only when building dllbigarray.dll and dllunix.dll
(since they both export versions of this primitive).

* Correct -static-libgcc error in README.win32.adoc

The instructions for the mingw64 port added in 600a93d amended the
sentence about -static-libgcc to include config/Makefile.mingw64. The
64-bit mingw port has never required or included this flag.
2017-12-19 15:53:58 +01:00
Gabriel Scherer 3882302fa6
Merge pull request #1434 from damiendoligez/makefile-cleanup
Makefile cleanup
2017-12-10 17:14:12 +01:00
David Allsopp e7a612151e Update FlexDLL to 0.37
Also switch AppVeyor back to only testing the bootstrap on the mingw32
build and some tweaks to the docs.
2017-10-25 23:59:41 +01:00
Damien Doligez af78f02368 take some reviewers' remarks into account 2017-10-19 17:15:52 +02:00
Damien Doligez db88523db3 Fix flexdll section in README (#1359)
Fix flexdll section in `README.win32.adoc`.
Pass the whole OCaml config to the Flexdll Makefile instead of a few chosen variables.
2017-10-05 16:48:08 +02:00
alainfrisch c5deee33b8 Typo. 2017-09-25 11:30:18 +02:00
Alain Frisch b46b5cea71 Document the Unicode mode for Windows (#1360)
Also: more detailed instructions related to FlexDLL.
2017-09-23 18:39:34 +02:00
Sébastien Hinderer 40fcbb5f0a Move configuration header files from the config to the byterun/caml directory
This commit moves:
  - config/m.h to byterun/caml/m.h
  - config/s.h to byterun/caml/s.h

Consequently, m.h and s.h now get installed alongside other
OCaml header files.

This commit also updates the .depend files, introducing updates in the
dependencies which are not consequences of this commit itself.
2017-04-26 19:28:17 +02:00
David Allsopp 0c989721a9 Update docs for Visual Studio 2017 2017-03-23 08:35:13 +00:00
Sébastien Hinderer 13c8c60f39 Update documentation and scripts to use Makefile even on Windows 2017-02-15 11:19:07 +01:00
David Allsopp 371e06c4ba update the note in README.win32 regarding Cygwin licensing
no change entry needed

(David Allsopp, Olivier Andrieu)
2017-01-23 19:10:15 +01:00
Damien Doligez 81e90c6cc9 PR#7263: Build with MSVC-14 (Visual Studio 2015) / Windows 10 not possible 2016-12-14 13:14:21 +00:00
alainfrisch e82191fea3 Update links to flexdll. 2016-07-21 09:48:57 +02:00
Damien Doligez e55b6fd94a PR#7243: warn users against using WinZip to unpack the source archive 2016-04-28 17:29:42 +02:00
David Allsopp 2004348db6 Overhaul the Windows installation instructions.
Simplified the instructions by de-duplicating the 32/64-bit instructions
now that every port is available for both architectures.

Removed out-of-date Cygwin information.

Included details on the new FlexDLL bootstrapping procedure.
2016-04-26 06:59:17 -04:00
David Allsopp 2a7b2ee3ae Move Cygwin instructions out of README.win32.adoc
Cygwin is a flavour of Unix. Coupled with the fact that it is built
using the normal Unix configure route, it adds to the confusion of the
Windows ports (especially the fact that the four native ports need a
Cygwin environment to be compiled) including its instructions in the
native port.

Various out-of-date instructions also removed: Cygwin hasn't provided
GCC 4.5.3 for a long time and FlexDLL can be recompiled from sources
without alteration since version 0.32.
2016-04-26 06:59:17 -04:00
Damien Doligez 66e4663a1f doc: cygwin64 is also supported 2016-02-24 14:15:21 +01:00
Damien Doligez ee8f71101b clean up whitespace and cut long lines 2016-02-17 13:36:27 +01:00
Jonathan Protzenko 35fc9cac40 Update README.win32.adoc 2016-02-03 11:03:35 -08:00
Simon Cruanes f3d3c221b1 move README.win32 to asciidoc 2015-12-06 19:31:15 +01:00