gcc-looking error when building GHC 6.8.3 from source -
"directives may not be used inside a macro argument"
Ian Lynagh
igloo at earth.li
Fri Sep 12 20:20:36 EDT 2008
Hi Jeff,
On Wed, Sep 10, 2008 at 09:21:34PM -0500, Jeff Evans wrote:
>
> The first of the ghc errors is "RtsFlags.c:1120:1: directives may not
> be used inside a macro argument" which is followed by many more (I
> think this is the real cause though). I searched around and it seems
> like a gcc "limitation" (not supporting something that is not part of
> the C standard but people still wanted). But even then it has
> supposedly been supported since gcc 3.2, and I'm using 3.4.
Try running the command manually, but append -v to the commandline. This
will show you how gcc is being invoked, and it'll also pass -v to gcc
which will therefore announce its version number.
Thanks
Ian
More information about the Glasgow-haskell-users
mailing list