Commit Graph

58 Commits (57620a7afd0e9416c76120017bdcbece0500481b)

Author SHA1 Message Date
Damien Doligez 5401ce8473 Update headers for the new license.
Remains to be done: remove all headers in testsuite/tests.
2016-02-18 16:59:16 +01:00
Damien Doligez ee8f71101b clean up whitespace and cut long lines 2016-02-17 13:36:27 +01:00
Christophe Troestler 7f6a8ae2f0 Protect install paths against spaces (on Windows) 2016-02-10 14:46:39 +01:00
David Allsopp b46843fb69 Allow compilation using bootstrapped FlexDLL
Extend the previous patch allowing make -f Makefile.nt flexdll
install-flexdll not to require the install-flexdll stage.

OCAML_FLEXLINK is utilised as required to allow compilation of the entire
system using an in-tree compiled flexlink. The build process simply
required the flexdll target to appear before world.

opt.opt compiles a native code version of flexlink.exe as flexlink.opt.

install always installs flexlink.exe if it was compiled along with any
required .manifest files. It also installs the appropriate .o/.obj files
to $(INSTALL_LIBDIR).

At present, the bootstrapping is not extended to the Cygwin ports.
2016-01-15 17:07:12 +00:00
Alain Frisch 22586504ee Fix EOL convention. 2015-12-02 14:51:59 +01:00
alainfrisch 7ad212045f Add module to deal with 'front-end' built-in attributes. 2015-12-02 14:46:14 +01:00
Damien Doligez 860c670848 merge branch 4.02 from 4.02.1 (rev 15540) to a few fixes after 4.02.2 (rev 16205)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16214 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-07-17 14:31:05 +00:00
Damien Doligez cbfe627f92 merge changes from branch 4.02 from branching (rev 14852) to 4.02.0+rc1 (rev 15121)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15125 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-08-22 13:45:02 +00:00
Jacques Garrigue b56dc4b3df PR#5584: merge open extensible types, extension-patch-4.0.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14737 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-05-04 23:08:45 +00:00
Gabriel Scherer de4f4cf8b3 PR#6358: obey DESTDIR in install targets
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14536 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-07 07:06:17 +00:00
Alain Frisch 0c4c54c990 Get rid of ocamlcomp.sh. The next step is to share all those common declarations for calling the compilers from various places.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14521 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-02 16:20:38 +00:00
Xavier Leroy 33f242aaea Reverting the elimination of the ocamlcomp*.sh scripts, namely the following commits:
14278
14277
14276
14176
14175
14173
14172
14171
14169
14168
14167
These changes need to mature on their own branch.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14329 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-29 13:04:38 +00:00
Alain Frisch 62f365c225 #6195: use ocamlcommon.cma to link ocamldoc, instead of explicit list of compiler modules.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14209 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-10-02 14:23:10 +00:00
Alain Frisch ef38d679df Fix.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14193 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-27 13:28:28 +00:00
Wojciech Meyer 241585bc83 build: replace ocamlcomp*.sh.
This script was built from ocamlcomp.sh.in through sed and is called
instead of "ocamlc" (for instance).
It makes it possible to switch from "ocamlc" to "ocamlc.opt" without
changing anything in the Makefiles, only calling sed.

I couldn't cleanly make it handle both a compiler for the target and for
the build. Instead I'm replacing it and doing as much as possible
directly in the Makefiles.
I hoped it would reduce the number of shell invocations, which would
speed things up quite a lot on Windows but I still had to have at least
one since it's not possible to update a make variable from inside a make
rule: i.e. it's not possible to do X=a, build a.opt and update X to be
a.opt.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14168 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-20 00:22:38 +00:00
Alain Frisch 10956770b4 Fix for Win32.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/extension_points@13487 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-05 07:08:37 +00:00
Damien Doligez def31744f9 remove all $Id keywords
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Damien Doligez 015739ac70 fix formatting of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12803 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-08-01 12:09:31 +00:00
Fabrice Le Fessant 776c46fce8 Fix problem of size of bin-annot files
- Reset most of the fields of Env.t when saving bin-annot files
- Move debugger/envaux.ml to typing/, and add a function to 
    recover environements from bin-annot files.
- Move tools/typedtreeIter.ml to typing/
- Move the code of typing/typedtreeMap.ml from cmt_format.ml



git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12702 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-12 11:02:18 +00:00
Damien Doligez 9d10503a1d PR#5218: use $(MAKE) instead of "make" in Makefiles
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12694 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-10 15:29:19 +00:00
Alain Frisch 77ce2bc57c Reduce diff between Makefile and Makefile.nt, probably removing a few bugs. Generators are still missing for Windows. We should really factorize common parts of such makefiles...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12601 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-13 09:22:06 +00:00
Alain Frisch d70eff6a1f Adapt ocamldoc for -ppx. Also reuse some code from Pparse instead of duplicating it.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12598 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-13 08:32:57 +00:00
Fabrice Le Fessant d39d43e55f merge with branch bin-annot
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12516 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-30 14:52:37 +00:00
Alain Frisch 300d292ab9 Unused_var has been removed.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12052 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-18 18:54:08 +00:00
Alain Frisch e707c41543 Fix for Windows.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11299 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-12 09:48:22 +00:00
Xavier Leroy 9ef7e04cf3 Jonathan's updates to the Windows/Mingw port
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11197 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-09-15 13:38:45 +00:00
Damien Doligez 3b507dd1aa renaming of Objective Caml to OCaml and cleanup of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Jacques Garrigue ab9616c72b add world.opt target
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10472 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-05-28 11:21:46 +00:00
Damien Doligez 04b1656222 clean up spaces and tabs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 12:48:24 +00:00
Damien Doligez 71b94fa3e8 merge changes from ocaml3111rc0 to ocaml3111
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9319 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-07-20 11:51:50 +00:00
Maxence Guesdon 6317d017cd fix compilatin of ocamldoc for NT with no odoc_opt.ml any more
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9228 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-04-09 13:55:53 +00:00
Alain Frisch 3958a92c72 Merge the natdynlink branch into HEAD.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 15:16:56 +00:00
Damien Doligez fbea66a95e fusion des changements 3.09.2 -> 3.09.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 11:14:37 +00:00
Maxence Guesdon 5fe321e4f8 no need to Dynlink.add_available_units any more
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6252 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-04-23 14:10:51 +00:00
Maxence Guesdon 1b39b1e19a removed unused Makefile variable
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6164 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-22 15:25:10 +00:00
Maxence Guesdon 94337c2cde odoc_cross.ml: use a Map to associate a complete name to
the known elements with this name, instead of searching each time
    through the whole list of modules -> a gain of more than 90% in speed
    for cross-referecing (Odoc_cross.associate)


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6158 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-22 12:40:49 +00:00
Maxence Guesdon 7bcb6b984f new module odoc_print, will work when Format.pp_print_flush is fixed
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6135 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-03-05 14:57:52 +00:00
Maxence Guesdon 4136c386da create ocamldoc/custom when installing
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6092 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-28 14:10:20 +00:00
Maxence Guesdon 2b54201f20 handling a path to load custom generators
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6087 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-28 13:36:20 +00:00
Xavier Leroy 7766d0cd96 Installer ocamldoc.opt.exe
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5809 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-08-29 12:15:41 +00:00
Maxence Guesdon 24688134fd installation des man pages en man3, ne plus installer ocamldoc.sty, clean supprime stdlib_man
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5671 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-08 13:52:22 +00:00
Maxence Guesdon e64970f29d Don't overwrite HTML and LateX style files, generate style file for LaTeX
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5656 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-04 10:02:13 +00:00
Xavier Leroy 0ab677173b MAJ ajout Stypes
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5552 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-12 14:32:44 +00:00
Xavier Leroy 48d55877b7 MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5452 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-03-24 15:25:44 +00:00
Maxence Guesdon 1c54acc6cf ajout -linkall et Nativeint dans les crc pour le chargement dynamique
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5150 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-01 09:47:54 +00:00
Xavier Leroy f487a57f92 Revu generation du .depend (ne pas mettre de dependances sur otherlibs, cela pose probleme sous Windows)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5107 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-19 13:28:20 +00:00
Maxence Guesdon 4b66ae11a1 ne plus installer odoc_args.mli + ajout commentaire
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5099 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-13 14:24:20 +00:00
Maxence Guesdon c18b321f6f ajout installation de odoc_args.mli
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5023 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-23 13:21:14 +00:00
Maxence Guesdon 5307ea0dce ajout odoc_text à la liste de modules dispo pour le dynlink
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4985 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-09 09:38:12 +00:00
Xavier Leroy a82c366504 Portage Mingw et revision du portage Win32/MSVC
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4899 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-07 09:49:45 +00:00