
#12891: Automate symbols inclusion in RtsSymbols.c from Rts.h -------------------------------------+------------------------------------- Reporter: Phyx- | Owner: bgamari Type: task | Status: new Priority: normal | Milestone: 8.4.1 Component: Build System | Version: 8.0.1 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #12846 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Phyx-): So looking at the script, two comments: There's no guarantee that there's a GCC on the path. On Windows you may not have one. So you have two choices here. You can either hardcode inplace/mingw/bin/gcc for Windows, or you can ask ghc for the C compiler it's using. (e.g. calling ghc --info). If you do the second one, you have the issue that some configurations use clang, so you have to guard against that. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12891#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler