summaryrefslogtreecommitdiffstats
path: root/config
AgeCommit message (Collapse)Author
2014-10-15merge branch 4.02 from release 4.02.0 to release 4.02.1Damien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15558 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-06followup to PR#6590: disable optimization -GyDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-03PR#6181 and PR#6590Damien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15462 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-08-27PR#6517: use ISO C99 types {,u}int{32,64}_t in preference to our homegrownXavier Leroy
types {,u}int{32,64}. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15131 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-08-22merge changes from branch 4.02 from branching (rev 14852) to 4.02.0+rc1 (rev ↵Damien Doligez
15121) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15125 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-15PR#6075: avoid using unsafe C library functions (strcpy, strcat, sprintf).Xavier Leroy
An ISO C99-compliant C compiler and standard library is now assumed. (Plus special exceptions for MSVC.) In particular, emulation code for 64-bit integer arithmetic was removed, the C compiler must support a 64-bit integer type. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14607 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-12-17configure: SO must be "so" or "dll" without the dotDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14369 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-12-12Un-bootstrapping of ocamlbuild: build it using a plain Makefile.Xavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14347 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-29Reverting the elimination of the ocamlcomp*.sh scripts, namely the following ↵Xavier Leroy
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-21remove camlp4Jérémie Dimino
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/minus-camlp4@14309 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-11-10build: make CAMLOPT_BIN default to "no-opt-compiler-available".Wojciech Meyer
(Patch by Adrien Nader!) Jacques Garrigue has reported that the testsuite would try to run with a non-existing opt compiler and that the error wasn't clear. Now, instead of trying to run: -c -I some_dir/ foo.ml anything that tries to run ocamlopt before it's available will run: no-opt-compiler-available -c -I some_dir/ foo.ml which should hopefully be clearer. I'm not yet sure why the testsuite didn't abort earlier, noticing that there was no opt compiler. One possibility is that using "test -e" without argument (which happens if variables are empty and not quoted inside shell scripts) succeeds. This will have to be checked. v2: don't remove the bytecode entry (bad copy-paste) build: make CAMLOPT_BIN default to "no-opt-compiler-available". git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14278 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-22build: typo on config/Makefile.mingw64, msvc and msvc64.Wojciech Meyer
(Patch by Adrien Nader!) While trying to come up with the previous commit, I noticed that the various Windows config files had diverged: all but config/Makefile.mingw were lacking a '%' in a pattern and this prevents the pattern from matching anything. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14176 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-20build: replace ocamlcomp*.sh.Wojciech Meyer
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-18config/Makefile.{mingw,msvc}{,64}: remove unused DO variable.Wojciech Meyer
(Patch by Adrien Nader!) This variable is currently unused and it breaks my new script which replaces mkmyocamlbuild.sh. The issue is that the "DO" variables becomes "do" in myocamlbuild_config.ml (lowercased) and "do" is an OCaml keyword. Since the variable is not used, simply remove it. Also remove the DBGO variable which only exists in Makefile.msvc64. Checking for occurrences of this variable elsewhere, I only found byterun/Makefile.nt which defines it as DBGO=d.$(O) rather than dbg.$(O). git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14163 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-09-09Remove labltk from the distribution (will be available as a third-party ↵Xavier Clerc
library). git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14077 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-28build: allow disabling ocamldoc and ocamlbuild.Wojciech Meyer
(Patch by Adrien Nader!) This doesn't touch the build system in build/ since it's obsolete and unmaintained as far as I know (I'll try to remove it in a further commit). git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13943 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-28build: prepend "with_" to camlp4/ocamldebug-{en,dis}abling variables.Wojciech Meyer
(Patch by Adrien Nader!) This makes the variable names more coherent and is in preparation for another patch that will allow disabling ocamldoc and ocamlbuild. This changes the interface of the configuration somewhat but I don't think anything outside of the ocaml tree reads the Makefile.config file that gets installed in order to see whether the debugger and camlp4 have been built. It also changes a .mli which might be problematic but I also believe it is safe and we have time to see if there's a bad impact. It also adds a configure switch to skip building ocamldebug. While at it, it fixes a PR number in the Changes file. build: prepend "with_" to camlp4/ocamldebug-{en,dis}abling variables. This makes the variable names more coherent and is in preparation for another patch that will allow disabling ocamldoc and ocamlbuild. This changes the interface of the configuration somewhat but I don't think anything outside of the ocaml tree reads the Makefile.config file that gets installed in order to see whether the debugger and camlp4 have been built. It also changes a .mli which might be problematic but I also believe it is safe and we have time to see if there's a bad impact. It also adds a configure switch to skip building ocamldebug. While at it, it fixes a PR number in the Changes file. build: prepend "with_" to camlp4/ocamldebug-{en,dis}abling variables. This makes the variable names more coherent and is in preparation for another patch that will allow disabling ocamldoc and ocamlbuild. This changes the interface of the configuration somewhat but I don't think anything outside of the ocaml tree reads the Makefile.config file that gets installed in order to see whether the debugger and camlp4 have been built. It also changes a .mli which might be problematic but I also believe it is safe and we have time to see if there's a bad impact. It also adds a configure switch to skip building ocamldebug. While at it, it fixes a PR number in the Changes file. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13942 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-18Updated with latest versions from FSF.Xavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13907 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-01Revert "build: make building ocamldoc, ocamlbuild and ocamldebug optional."Wojciech Meyer
This patch fixes build failure. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13867 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-01build: make building ocamldoc, ocamlbuild and ocamldebug optional.Wojciech Meyer
(modified patch from Adrien Nader!) Add also new comments for the new INSTALL flags. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13864 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-01configure: store $target and $host in the build configuration (fixed).Wojciech Meyer
(patch by Adrien Nader!) Compared to the previous version of this patch, this fixes too issues. First, it updates the makefiles for mingw and msvc to set $host and $target. I'm not completely sure why that was required since these variables should have evaluated to empty strings which were only tested for equality later on. Still, it's needed and it avoids an asymetry between the regular ./configure-based builds and the ones using pre-made Makefiles. Second, it update the ocamlbuild config to also store $host and $target. I had been building the cross-compilers with OCAMLBUILD_NOBOOT (which is rather new) and updating that config wasn't needed. However it is required for the "regular" builds. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13862 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-17testsuite: making it work without installing OCaml (continued)Damien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13690 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-05-07porting to MSVC64; some cleanup; ignore .obj and .lib filesDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13655 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-30port testsuite to mingw64Damien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13639 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-30config/Makefile.mingw: bug in definition of ASPPDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13638 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-30last fixes to make the testsuite work under mingwDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13636 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-04-29config/Makefile.mingw: additions to make the testsuite workDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13627 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-09fix a few problems with whitespace and over-long linesDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13393 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-12-30config/Makefile.*: remove DBM-related variables.Wojciech Meyer
Patch by Adien Nader! git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13174 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15remove all $Id keywordsDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-08-02add some missing copyright headersDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12814 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-26merge changes from 4.00 branching to 4.00.0 (part 1)Damien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12784 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-17removed bogus $Id linesDamien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12721 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-07-13PR#5676: add ipv6 support on Windows.Jonathan Protzenko
Patch by Jérôme Vouillon <Jerome.Vouillon@pps.jussieu.fr> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12710 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-06-17PR#5643: issues with .cfi and .loc directives generated by ocamlopt -gXavier Leroy
(Picking commit 12610 from version/4.00) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12611 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-15ASM_CFI_SUPPORTED=false for other Windows ports.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12460 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-05-15Don't disable Camlp4 by default for msvc64 and mingw64.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12458 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-04CFI directives are not supported on Windows.Jonathan Protzenko
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12320 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-04-04Update the Makefiles on Windows to reflect the fact that compiling camlp4 is ↵Jonathan Protzenko
now opt-out. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12318 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-03-23Use new -stack option from flexdll 0.28 (#5465).Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12263 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-24PR#5487: forgot to add two new filesXavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12186 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-19PR#5504: Fix. Patch proposed by Stephane Glondu, thanks.Wojciech Meyer
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12170 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-10PR#5159: better documentation of type "position"Damien Doligez
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-18Fix #5439: Upgrade to latest config.guess and config.sub.Jonathan Protzenko
Patch by Benedikt Meurer <benedikt.meurer@gmail.com> git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12040 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-16PR#4688: (Windows) special floating-point values aren't converted to strings ↵Alain Frisch
correctly. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-16Bad cut and paste.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12028 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-16#5478: makes it possible to specify a custom 'ar' command.Alain Frisch
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12027 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-21PR#5179: giant steps towards a Mingw64 port.Xavier Leroy
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11927 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-17Removed the obsolete native-code generators for Alpha, HPPA, IA64 and MIPS,Xavier Leroy
part 3: config/Makefile-templ (for reference, because this file is unused) git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11884 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-12-17The "DBM" library (interface with Unix DBM key-value stores) is noXavier Leroy
longer part of this distribution. It now lives its own life at https://forge.ocamlcore.org/projects/camldbm/. Bye bye, DBM. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11881 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02