| | 66 | == Using the wrong assembler == |
| | 67 | If you fail to install GNU binutils then GHC will try to use the native Sun assembler, and you'll get something like this: |
| | 68 | |
| | 69 | {{{ |
| | 70 | benl@greyarea:~/tmp$ ghc --make Main.hs -fforce-recomp |
| | 71 | [1 of 1] Compiling Main ( Main.hs, Main.o ) |
| | 72 | /usr/ccs/bin/as: "/tmp/ghc19665_0/ghc19665_0.s", line 242: error: invalid character (0x40) |
| | 73 | /usr/ccs/bin/as: "/tmp/ghc19665_0/ghc19665_0.s", line 242: error: quoted-string operand required |
| | 74 | /usr/ccs/bin/as: "/tmp/ghc19665_0/ghc19665_0.s", line 242: error: statement syntax |
| | 75 | }}} |
| | 76 | |
| | 77 | The offending line is: |
| | 78 | {{{ |
| | 79 | .section .note.GNU-stack,"",@progbits |
| | 80 | }}} |