Commit Graph

32 Commits (master)

Author SHA1 Message Date
Kate b0118a97db
Documentation: Improve the list of build-time requirements (#9733)
The list of prerequisites in INSTALL.adoc was not quite complete.
This PR adds the missing requirements and removes some requirements that are no longer relevant.
2020-07-19 18:26:53 +02:00
Nicolás Ojeda Bär 0b6ebb3155 Remove integration with libbfd 2020-07-02 06:40:10 +02:00
Gabriel Scherer 239de4d870 INSTALL.adoc: replace Makefile.common.in with Makefile.build_config.in 2020-05-03 09:55:02 +02: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
Sébastien Hinderer 26a531378c Update INSTALL.adoc
Take into account that ocamlrund is now built by default.
2019-07-24 09:06:12 +02:00
Cedric Cellier 10cd22753b
typo 2019-06-20 21:32:44 +02:00
Sébastien Hinderer 6bb155f9bb build system: remove the config/ directory
None of the files in this directory is used any more.
2019-06-10 13:56:51 +01:00
Sébastien Hinderer 7527450503 Update INSTALL.adoc 2019-05-21 22:09:26 +02:00
Sébastien Hinderer ff1e848f8c Finish removing PPC/non-Linux support (#8536)
This commit removes the remaining traces of support
for the Power/PowerPC architecture with OS other than Linux.
ocamlopt stopped supporting those configurations in 2014,
see commit  8815d7e and following.
2019-03-26 20:12:23 +01:00
Konstantin Romanov f1a1347e7b Reenable XLC on AIX 7.x (#2295) 2019-03-21 17:13:35 +01: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 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
Sébastien Hinderer 85fa27f7e9 Rename C compiler related build variables
This commit renames a few C compiler related build variables so that
they are reserved for the build system. They will then be re-introduced,
but this time as user varialbes whose value can be freely customized
when compiling the package, without risking to conflict with those
command-line flags that are required by the build system itself.

Here are the variables this commit renames:

- CFLAGS -> OC_CFLAGS
- CPPFLAGS -> OC_CPPFLAGS
- LDFLAGS -> OC_LDFLAGS

Note: before this commit the compilation of scheduler.c in
otherlibs/threads was relying on make's implicit rule to compile C files.

Since this commit stops using the standard variables for flags,
it is necessary to introduce an explicit rule to compile C files
and that makes use of the newly introduced variables.
2018-06-20 14:01:42 +02:00
Sébastien Hinderer 96545e8cd0 Document the bootstrap procedure
* Remove the now obsolete comments at the beginning of the main Makefile
 * Move and fix documentation of the bootstrap from INSTALL to
   HACKING-bootstrap.adoc
 * Update install instructions
2018-05-31 15:45:25 +02:00
Damien Doligez af78f02368 take some reviewers' remarks into account 2017-10-19 17:15:52 +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
Mark Shinwell 3efe66e043 Remove SPARC backend 2017-04-10 09:18:13 +01:00
Max Mouratov c329255521 Fixed grammar in user-facing comments and README 2017-04-06 14:16:18 +02:00
Gabriel Scherer d7acff30bc split HACKING.adoc with parts in {parsing,typing}/HACKING.adoc
In the interest of keeping HACKING.adoc not-too-long and
general-purpose, advice on modifying specific sub-systems of the
compiler distribution should be moved to the directory of this
sub-system.

This PR also clarifies the relations between the README, INSTALL,
HACKING and CONTRIBUTING documents.
2016-11-22 21:35:49 -05:00
Drup 9b17752122 Starting Hacking.adoc. 2016-11-22 21:35:49 -05:00
Adrien Nader 8841df4c52 INSTALL.adoc: explain why configure looks for the curses library.
Hint: it is used in the toplevel to highlight errors using something nicer
than a bunch of (slightly-misaligned) '^' on a new line.

NB: $curseslibs ends up in $BYTECCLIBS and we probably link against curses
in the bytecode runtime while we only need it for the toplevel.
2016-11-11 22:49:52 +01:00
David Allsopp 009905a373 Remove recommendation not to use parallel make
Since it does work and is being maintained!
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
David Allsopp 97ff08fcdf Reformat other sections of INSTALL.adoc 2016-04-26 06:59:17 -04:00
David Allsopp 5da78d01a6 Reformat configure instructions
MacOS X and Mac OS X changed to OS X.
2016-04-26 06:59:16 -04:00
Gabriel Scherer ad7cd47ea8 GPR#387, MPR#7172: document ./configure -no-native-compiler 2016-04-04 08:43:58 -04:00
Damien Doligez ee8f71101b clean up whitespace and cut long lines 2016-02-17 13:36:27 +01:00
Gabriel Scherer f8f2a6277f remove ocamlbuild from the compiler distribution 2016-02-01 15:05:18 -05:00
Damien Doligez 0225ca01e3 GC latency improvements 2015-12-21 14:27:46 +01:00
Simon Cruanes f3d3c221b1 move README.win32 to asciidoc 2015-12-06 19:31:15 +01:00
Simon Cruanes 066022aa8a move install file to asciidoc 2015-12-06 19:31:15 +01:00