- 04 Sep, 2013 1 commit
-
-
thoughtpolice authored
Authored-by:
Luke Iannini <lukexi@me.com> Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
- 29 Aug, 2013 1 commit
-
-
thoughtpolice authored
Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
- 28 Aug, 2013 1 commit
-
-
thoughtpolice authored
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>
-
- 22 Aug, 2013 1 commit
-
-
Simon Marlow authored
In 1e2b3780 I changed the option ordering for C compilations. A side effect was that -optc options came before the automatic -O we were adding, which made it so that the -debug RTS was getting optimised when it shouldn't have been. Perhaps we shouldn't have automatic -O options added to C compilations. But that might cause problems for build systems that are relying on the current behaviour, so I've made a minor change instead: now C optimisation level == Haskell optimisation level.
-
- 14 Aug, 2013 1 commit
-
-
thoughtpolice authored
When cross compiling to iOS, we generate archive files which are linked into the final executable. We already *did* generate archive files - just with the wrong suffix. Fixes #8125. Authored-by:
Stephen Blackheath <...@blacksapphire.com> Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
- 30 Jul, 2013 1 commit
-
-
ian@well-typed.com authored
Makes it look less likely that people will confuse what it is for (e.g. #8104).
-
- 09 Jul, 2013 1 commit
-
-
Edward Z. Yang authored
Signed-off-by:
Edward Z. Yang <ezyang@mit.edu>
-
- 05 Jul, 2013 1 commit
-
-
Peter Wortmann authored
This pass is pretty cheap and eliminates the aliases generated by the LLVM backend. This in turn is required for dynamic linking to work correctly, as LLVM fails to properly attribute calls to aliased addresses. Signed-off-by:
David Terei <davidterei@gmail.com>
-
- 19 Jun, 2013 2 commits
-
-
thoughtpolice authored
Clang doesn't like whitespace between macro and arguments. Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
thoughtpolice authored
This is needed because Clang is very strict about C99 macro rules, which dictate that '#' in a body must have a token immediately following it for string-ification. In practice we break this all the time, because we do very weird stuff like: #define FOOBAR(xyz) \ {-# SOME PRAGMA #-} \ baz :: (xyz) \ baz = ... where the leading '#' in in the macro body clearly breaks this rule. Signed-off-by:
Austin Seipp <aseipp@pobox.com>
-
- 21 May, 2013 1 commit
-
-
Simon Marlow authored
Now these are always added by the run<blah> functions in SysTools, so we never miss any out. Several cleanups resulted.
-
- 18 May, 2013 1 commit
-
-
ian@well-typed.com authored
-
- 27 Apr, 2013 1 commit
-
-
ian@well-typed.com authored
On iOS, binaries are really static libraries, so we don't want to use flags like -lm when linking them.
-
- 26 Apr, 2013 4 commits
-
-
ian@well-typed.com authored
We now just pass the filename as an argument
-
ian@well-typed.com authored
We now just pass the output filename as an argument instead
-
ian@well-typed.com authored
-
ian@well-typed.com authored
The output location needs to be different for the vanilla and dynamic ways when doing -dynamic-too. Fixes dynamicToo003.
-
- 18 Mar, 2013 1 commit
-
-
ian@well-typed.com authored
Without it, when linking the split objects for Language.Haskell.TH.Syntax, the commandline was too long when listing all the files directly.
-
- 09 Mar, 2013 4 commits
-
-
ian@well-typed.com authored
-
ian@well-typed.com authored
We now run the tail of the pipeline twice, rather than trying to do both ways in lockstep.
-
ian@well-typed.com authored
The goal is that the second subphase will be run twice when using -dynamic-too
-
ian@well-typed.com authored
-
- 07 Mar, 2013 2 commits
-
-
dterei authored
Patch from Stephen Blackheath!
-
ian@well-typed.com authored
It would probably still benefit from some tidying up, but it's now much more opaque, with the control flow easier to understand.
-
- 02 Mar, 2013 4 commits
-
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
- 28 Feb, 2013 5 commits
-
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
-
ian@well-typed.com authored
It's now only used once
-
ian@well-typed.com authored
pipeLoop now returns the final dflags, rather than having runPipeline' extract it from the end state.
-
- 21 Feb, 2013 1 commit
-
-
ian@well-typed.com authored
-
- 01 Feb, 2013 1 commit
-
-
gmainlan@microsoft.com authored
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.
-
- 30 Jan, 2013 1 commit
-
-
ian@well-typed.com authored
-
- 25 Jan, 2013 2 commits
-
-
Simon Marlow authored
- -float-abi=hard also works for arm v6 - pass -mattr=+vfp2 if we have VFP2 Submitted by: Karel Gardas <karel.gardas@centrum.cz>
-
dterei authored
Patch from Karel Gardas <karel.gardas@centrum.cz>.
-
- 23 Jan, 2013 2 commits
-
-
Simon Marlow authored
Submitted by: Stephen Paul Weber <singpolyma@singpolyma.net>
-
dterei authored
-