summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Tidy up cross-compilingSimon Marlow2013-01-171-25/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have two cases: 1. building a cross-compiler 2. compiling GHC to run on a foreign platform These two are done with almost the same setup: (1) is the stage 1 compiler, and (2) is the stage 2 compiler, when CrossCompiling=YES. The only difference between (1) and (2) is that you if you set up the build for (1), then it stops before stage 2 and you can 'make install' to install stage 1. Unfortunately, (2) didn't work, and the build system code needed some tidying up. Change to the way the build is set up: Before ------ To build a cross-compiler: ./configure --target=<..> To compile a foreign GHC: ./configure --host=<..> --target=<..> Now --- To build a cross-compiler: ./configure --target=<..> And set "Stage1Only=YES" in mk/build.mk To compile a foreign GHC: ./configure --target=<..>
* Rearrange configure.ac a bitIan Lynagh2012-12-041-59/+59
| | | | | Anything that uses gcc needs to happen after we've made the mingw inplace tree on Windows.
* Remove unused PYTHON in build systemIan Lynagh2012-11-301-4/+0
|
* libffi build system tweaksIan Lynagh2012-11-301-1/+1
|
* Add configure option to use system provided libffi; fixes #5743Ian Lynagh2012-11-291-0/+55
| | | | | | | | | | Based on patch from Peter Trommler: From 293495d40f62e691520331a41c6d85d82e120169 Mon Sep 17 00:00:00 2001 From: Peter Trommler <ptrommler@acm.org> Date: Sun, 21 Oct 2012 18:47:01 +0200 Subject: [PATCH] Add configure option to use system provided libffi This fixes track # 5743 and #4496.
* Remove redundant configure check for timer_createIan Lynagh2012-11-131-1/+1
|
* Remove unused FPTOOLS_SHEBANG_PERLIan Lynagh2012-11-131-3/+0
|
* Remove unused FP_PROG_SORT / SortCmd / SORTIan Lynagh2012-11-131-3/+0
|
* Simplify BOOTSTRAPPING_GHC_INFO_FIELDIan Lynagh2012-11-131-5/+5
| | | | | All supported bootstrapping compilers now have --info output, so we can use that unconditionally.
* Remove the HAVE_SETITIMER_VIRTUAL configure testIan Lynagh2012-11-131-14/+0
| | | | We no longer actually use ITIMER_VIRTUAL anyway
* Add "Unregisterised" as a field in the settings fileIan Lynagh2012-08-071-0/+23
| | | | | | To explicitly choose whether you want an unregisterised build you now need to use the "--enable-unregisterised"/"--disable-unregisterised" configure flags.
* More more ld-related settings into the settings fileIan Lynagh2012-08-051-5/+4
| | | | Related to #4862
* Remove LD_X; it's no longer usedIan Lynagh2012-08-051-1/+0
|
* GHC 7.4 is now required for building HEADIan Lynagh2012-07-201-2/+2
|
* Bump HEAD version to 7.7Ian Lynagh2012-07-201-1/+1
|
* Don't look for objdump on OS XMax Bolingbroke2012-07-091-5/+10
|
* On Windows, detect if DLLs have too many symbols; trac #5987Ian Lynagh2012-06-291-0/+7
| | | | | The test isn't very pretty; it involves trawling through the objdump -p output. I couldn't find an easier way, unfortuantely.
* Switch to using the 'rubenvb' mingw buildsIan Lynagh2012-06-171-4/+3
|
* Fix path to ar on WindowsIan Lynagh2012-05-221-1/+1
|
* Rename package-conf flags to package-db.Paolo Capriotti2012-05-151-0/+4
| | | | | | | | Rename package database flags in both GHC and ghc-pkg so that they are consistent with Cabal nomenclature. Add a version check to the build system so that the correct set of package db flags are used when the bootstrapping GHC has version < 7.5.
* add support for ARM hard-float ABI (fixes #5914)Karel Gardas2012-04-271-0/+14
| | | | | | | This patch enhances Platform's ArchARM to include ARM ABI value. It also tweaks configure machinery to detect hard-float ABI and to set it wherever needed. Finally when hard-float ABI is in use, pass appropriate compiler option to the LLVM's llc. Fixes #5914.
* OS X: disable bootstrapping info for 'ar'Manuel M T Chakravarty2012-04-211-3/+10
| | | | Xcode 4.3 installs the command line tools in a different location as earlier versions of Xcode. With the bootstrapping info, the build fails if the bootstrap compiler was built with an older version of Xcode.
* Merge branch 'master' of win:c:/m64/head/.Ian Lynagh2012-03-151-2/+2
|\
| * Fix tarball name for Win64 mingwIan Lynagh2012-03-151-2/+2
| |
* | Fix copy/paste errorIan Lynagh2012-03-151-1/+1
|/
* Support making a Win64 in-tree mingwIan Lynagh2012-03-151-42/+58
| | | | The Win64 mingw zip file isn't in the ghc-tarballs repo, as it's >300M.
* Some configure/aclocal fixes for Win64Ian Lynagh2012-03-151-8/+9
|
* some small correctionsGabor Greif2012-02-271-1/+1
|
* Fix some more sh syntax in configure.acIan Lynagh2012-02-101-2/+3
|
* Fix equality testing for test(1) on FreeBSDGabor Pali2012-02-101-1/+1
|
* Improve support for cross-compilationSimon Marlow2012-01-301-16/+77
| | | | Patchset from Stephen Blackheath <stephen.blackheath@ipwnstudios.com>
* Define "ar command" correctly in settings file on WindowsIan Lynagh2012-01-141-2/+1
| | | | | We want to use the inplace ar, rather than whichever ar the machine that we build on happens to have.
* Enable llvm tool paths to be set with ./configureDavid Terei2012-01-101-0/+12
| | | | Patch from Karel Gardas!
* update copyright, cite realistic version numbers, fix a smattering of typosGabor Greif2012-01-061-10/+10
|
* Store the word size as determined by configure, in the settings file (#5735)Simon Marlow2012-01-041-0/+4
| | | | | Now target32bit works for all targets without any manual intervention, as it should do. #5735 was a portability regression.
* HEAD now requires GHC >= 7.0 to bootstrapIan Lynagh2011-12-131-4/+2
|
* Bump version number to 7.5Ian Lynagh2011-12-131-1/+1
|
* Test whether ld flags exist before using themIan Lynagh2011-11-271-0/+3
| | | | | Some platforms use linkers that don't support the --hash-size=31 and --reduce-memory-overheads flags.
* mergeSimon Marlow2011-11-221-0/+4
|\
| * Add autoconf support to detect an LLVM-based C compilerDavid M Peixotto2011-10-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support to the autoconf scripts to detect when we are using a C compiler that uses an LLVM back end. An LLVM back end does not support all of the extensions use by GCC, so we need to perform some conditional compilation in the runtime, particularly for handling thread local storage and global register variables. The changes here will set the CC_LLVM_BACKEND in the autoconf scripts if we detect an llvm-based compiler. We use this variable to define the llvm_CC_FLAVOR variable that we can use in the runtime code to conditionally compile for LLVM.
* | Follow cabal->Cabal rename, and fix haddock index generationIan Lynagh2011-10-231-1/+1
| | | | | | | | We now make use of the ghc-packages file when making the haddock index.
* | FIX BUILD on OS X 10.5: Check whether ld understands -no_compact_unwindThorkil Naur2011-10-191-0/+1
| |
* | Convert the HAVE_GNU_NONEXEC_STACK conditional into HaskellIan Lynagh2011-10-191-18/+0
| |
* | Add "have subsections via symbols" to the Platform typeIan Lynagh2011-10-191-13/+0
| |
* | Put the target platform in the settings fileIan Lynagh2011-10-191-0/+5
|/
* Fix bindist finding gcc on OS X; fixes trac #5397Ian Lynagh2011-10-011-101/+12
| | | | | | $TargetOS_CPP wasn't getting defined in a bindist, which meant the code to use gcc-4.2 instead of gcc on OS X wasn't working. Now fixed, by moving some of configure.ac's code into the shared aclocal.m4.
* GHC does build with Alex 3 now - remove the configure trapSimon Marlow2011-09-131-3/+0
| | | | | However, one perf test fails (parsing001) due to extra allocation. I want to look into this so I'm not bumping it just yet.
* Add s390x to list of supported architecturesJoachim Breitner2011-09-061-1/+1
|
* Fail configure if Alex 3 is found. Haddock doesn't build with Alex 3Simon Marlow2011-08-101-0/+3
| | | | | | yet, and fixing it is non-trivial (a change to Cabal is needed). So I'm making configure fail with an error suggesting to install an older Alex for now.
* Refactor configure.ac's: Define FIND_GCC() in aclocal.m4Ian Lynagh2011-08-031-12/+1
|