summaryrefslogtreecommitdiff
path: root/docs/users_guide/phases.xml
Commit message (Collapse)AuthorAgeFilesLines
* Move user's guide to ReStructuredTextBen Gamari2015-10-031-1373/+0
|
* users_guide: Various spelling fixesBen Gamari2015-06-161-1/+2
| | | | | | | | | | | | | | | | | | | Summary: Today when reading through the users manual I noticed a few spelling issues. This prompted me to run the document through ispell which turned up even more issues. I've tried to be conservative here; most of the corrections are misspellings and typos but in a few cases I've moved from American to British orthography. Test Plan: Read. Reviewers: austin Reviewed By: austin Subscribers: bgamari, thomie Differential Revision: https://phabricator.haskell.org/D925
* rts: add "-no-rtsopts-suggestions" optionJavran Cheng2015-05-061-0/+21
| | | | | | | | | | | | | | | | | | Depends on D767 Setting this flag prevents RTS from giving RTS suggestions like "Use `+RTS -Ksize -RTS' to increase it." According to the comment @rwbarton made in #9579, sometimes "+RTS" suggestions don't make sense (e.g. when the program is precompiled and installed through package managers), we can encourage people to distribute binaries with either "-no-rtsopts-suggestions" or "-rtsopts". Reviewed By: erikd, austin Differential Revision: https://phabricator.haskell.org/D809 GHC Trac Issues: #9579
* User's guide: .a files can be 2-2.5x larger with -split-objsThomas Miedema2015-04-061-4/+4
| | | | | | | | And remove warning. This feature is available through cabal even. Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D801
* Add __GLASGOW_HASKELL_TH__=YES/NO to CPP definitionsJoachim Breitner2014-10-291-0/+15
| | | | | | | | | | | | | | Test Plan: None really. Reviewers: austin Reviewed By: austin Subscribers: thomie, carter, simonmar Differential Revision: https://phabricator.haskell.org/D386 GHC Trac Issues: #9734
* Implement `MIN_VERSION_GLASGOW_HASKELL()` macroHerbert Valerio Riedel2014-10-051-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This exposes the `cProjectPatchLevel{1,2}` value at the CPP level to allow it to be used in CPP conditionals. Concretely, GHC 7.10.2.20150623 would result in #define __GLASGOW_HASKELL__ 710 #define __GLASGOW_HASKELL_PATCHLEVEL1__ 2 #define __GLASGOW_HASKELL_PATCHLEVEL2__ 20150623 while GHC 7.10.3 results in #define __GLASGOW_HASKELL__ 710 #define __GLASGOW_HASKELL_PATCHLEVEL1__ 3 and finally GHC 7.9.20141009 results in #define __GLASGOW_HASKELL__ 709 #define __GLASGOW_HASKELL_PATCHLEVEL1__ 20141009 As it's error-prone to properly express CPP conditionals for testing GHC multi-component versions, a new macro `MIN_VERSION_GLASGOW_HASKELL()` is provided (also via the new CPP include file `ghcversion.h`) Finally, in order to make it easier to define the new CPP macro `MIN_VERSION_GLASGOW_HASKELL()`, a new default-included `include/ghcversion.h` is used for the new CPP definitions. Reviewed By: ekmett, austin, #ghc Differential Revision: https://phabricator.haskell.org/D66
* Fix prepositions in the documentation of -rdynamic.Facundo Domínguez2014-08-201-2/+2
|
* Implement -rdynamic in Linux and Windows/MinGW32.Facundo Domínguez2014-08-181-0/+15
| | | | | | | | | | | | | | | | | | Summary: In Linux, it is a synonym for -optl -rdynamic. In Windows, it is a synonym for -optl -export-all-symbols. Test Plan: validate Reviewers: simonmar, austin Reviewed By: simonmar, austin Subscribers: mboes, phaskell, simonmar, relrod, ezyang, carter Differential Revision: https://phabricator.haskell.org/D102 GHC Trac Issues: #9381
* Fix docs typo.Edward Z. Yang2014-06-271-1/+1
| | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* Add new flag -fwrite-interface for -fno-code.Edward Z. Yang2014-06-261-2/+16
| | | | | | | | | | | | | | | | | | | Summary: Normally, -fno-code does not generate interface files. However, if you want to use it to type check over multiple runs of GHC, you will need the interface files to check source files further down the dependency chain; -fwrite-interface does this for you. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu> Test Plan: clean validate, and a new test-case Reviewers: simonpj Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D27
* ghc & docs: kill unused flagsAustin Seipp2014-04-211-9/+0
| | | | | | | | | | | | This removes the following, now defunct flags, which will not be recognized by GHC 7.10: -fwarn-lazy-unlifted-bindings -pgmm and -optm (used for the Mangler, long dead) -keep-raw-s-file & -keep-raw-s-files -monly[432]-reg-only Signed-off-by: Austin Seipp <austin@well-typed.com>
* Rework how iOS does linking (#8127)Austin Seipp2013-08-281-3/+29
| | | | | | | | | | | | | | | | | | | | | | | | iOS has some particular constraints about how applications can be built: * We must generate a static library (.a) since XCode does the final link. * We need to carefully give the right set of arguments to libtool in the case we're generating an archive. * Dynamic linking isn't supported. * It can only be done on OS X. This patch cleans up all of the above. We add a new flag `-staticlib` (only supported on Darwin) that allows us to produce archive files using libtool, and a -pgmlibtool flag to control which 'libtool' executable to use. This fixes #8127. I believe this is the last piece missing from the iOS cross compiler. Authored-by: Luke Iannini <lukexi@me.com> Authored-by: Maxwell Swadling <maxwellswadling@gmail.com> Authored-by: Stephen Blackheath <...@blacksapphire.com> Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Use consistent dashes in the user guideIan Lynagh2013-06-221-1/+1
| | | | | | We were using a mixture of "&ndash;&ndash;" and "--". We now consistently use "--", which has the advantage that copy/pasting flags will work.
* Define __GLASGOW_HASKELL_LLVM__ when using the LLVM back end.Geoffrey Mainland2013-02-011-0/+15
| | | | | | When compiling via LLVM, GHC now defines the CPP symbol __GLASGOW_HASKELL_LLVM__ to the version of LLVM used, e.g., __GLASGOW_HASKELL_LLVM__ is defined to be 30 for LLVM version 3.0.
* Mention -threaded in the intro to Concurrent HaskellSimon Marlow2012-02-271-7/+18
| | | | And make the docs a bit more concrete.
* Improve documentation on backendsDavid Terei2011-11-211-12/+11
|
* Improve code generator documentation.David Terei2011-11-211-1/+1
|
* Doc changes following changes to the way -rtsopts worksSimon Marlow2011-11-161-0/+24
| | | | | | Mainly, -rtsopts doesn't work with -no-hs-main, and you have to do something in your main() to get the effect of -rtsopts (and -with-rtsopts).
* typosSimon Marlow2011-08-251-2/+2
|
* more typos (#5225)Simon Marlow2011-05-311-1/+1
|
* phases.xml whitespaceDaniel Fischer2011-05-311-14/+14
|
* Remove dead code, now that -fvia-c is a no-opIan Lynagh2011-04-041-11/+0
|
* Remove -fvia-C references from the users guideIan Lynagh2011-03-291-17/+4
|
* refactor and tidy up the section on RTS optionsSimon Marlow2010-12-161-25/+47
|
* FIX #4826 partial: Add -rtsopts and -with-rtsopts to User Guide section 4.11.6Orphi2010-12-091-0/+58
|
* Remove __HASKELL1__, __HASKELL98__, __CONCURRENT_HASKELL__Ian Lynagh2010-10-121-51/+0
| | | | | | We used to define these CPP symbols, but nothing on hackage uses them and the first 2 are no longer correct (as we support multiple Haskell versions).
* Update release notes and docs with LLVM info.David Terei2010-09-141-47/+102
|
* remove 'mode: xml' emacs settings (#2208)Simon Marlow2010-07-081-1/+0
|
* Document the new -dylib-install-name option in the user's guide.Stephen Blackheath2009-10-011-0/+18
|
* fix xrefSimon Marlow2009-09-171-1/+1
|
* document -eventlog and the associated runtime optionsSimon Marlow2009-09-161-0/+23
|
* remove docuumentation for -#include optionSimon Marlow2009-08-011-25/+0
|
* Add the -fno-shared-implib flagIan Lynagh2009-07-141-0/+22
| | | | | | Patch from Max Bolingbroke <batterseapower@hotmail.com> Rerecorded to avoid conflicts.
* Update a few points about shared libs in other sectionsDuncan Coutts2009-07-041-10/+10
| | | | And add links to the new shared libs section.
* Document -dynload flag. Also add it and -shared to the flags reference.Duncan Coutts2009-07-041-0/+13
|
* Add a section "Multi-threading and the FFI"Simon Marlow2009-06-021-15/+3
| | | | and collect all the information about multi-threaded FFI use into it.
* Update docs not to talk about deprecated -optdep-* flags; fixes trac #2773Ian Lynagh2008-11-281-10/+0
|
* Fix some linksIan Lynagh2007-11-261-1/+1
|
* Fix a whole heap of speling errrs in the docsJosef Svenningsson2007-10-071-2/+2
|
* Add documentation about -shared, shared library name mangling, and a xrefsClemens Fruhwirth2007-09-141-8/+35
|
* Doc for new manifest-related flagsSimon Marlow2007-08-221-1/+91
|
* Rationalise GhcMode, HscTarget and GhcLinkSimon Marlow2007-04-111-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch cleans up the GHC API, and adds some functionality: we can now compile to object code inside GHCi. Previously we had: data GhcMode = BatchCompile | Interactive | OneShot | JustTypecheck | MkDepend data HscTarget = HscC | HscAsm | HscJava | HscInterpreted | HscNothing There was redundancy here; if GhcMode is Interactive, then only HscInterpreted makes sense, and JustTypecheck required HscNothing. Now we have: data GhcMode = CompManager -- ^ --make, GHCi, etc. | OneShot -- ^ ghc -c Foo.hs | MkDepend -- ^ ghc -M, see Finder for why we need this and HscTarget remains as before. Previously GhcLink looked like this: data GhcLink = NoLink | StaticLink Now we have: data GhcLink = NoLink | LinkBinary | LinkInMemory The idea being that you can have an HscTarget of HscAsm (for example) and still link in memory. There are two new flags: -fobject-code selects object code as the target (selects either -fasm or -fvia-C, whichever is the default) This can be usd with ':set' in GHCi, or on the command line. -fbyte-code sets byte-code as the target. Only works in GHCi. One day maybe this could save the byte code in a file when used outside GHCi. (names chosen for consistency with -fno-code). Changes to the GHC API: newSession no longer takes the GhcMode argument. The GhcMode defaults to CompManager, which is usually what you want. To do JustTypecheck now, just set hscTarget to HscNothing.
* Improved naming of generated HTML files by using nice IDssven.panne@aedion.de2007-02-071-1/+1
|
* Decouple -O from -fvia-Cwolfgang.thaller@gmx.net2006-12-011-6/+3
| | | | | | Nowadays, there are situations where -fvia-C is definitely unwanted, such as when -fPIC is used on some platforms, so we do not want implicit -fvia-C any more.
* Improve the correlation betweens documented and existent optionsIan Lynagh2006-10-031-11/+31
|
* Latin-1-to-UTF8 pre-processor example for docs from Christian MaederIan Lynagh2006-10-011-0/+18
|
* Rename -no-recomp to -fforce-recomp, and document itSimon Marlow2006-09-271-1/+1
|
* Various documentation improvements suggested by Bulat ZiganshinIan Lynagh2006-09-251-1/+6
|
* Fixed DocBook XML once again, "make validate" is your friend!sven.panne@aedion.de2006-09-231-1/+1
|
* Document SMP supportSimon Marlow2006-08-251-15/+32
|