
17 Apr
2013
17 Apr
'13
6:18 p.m.
On Fri, Apr 05, 2013 at 11:12:38PM -0400, Dubiousjim wrote:
target$ inplace/bin/ghc-stage2 -o hello-cross hello.hs [1 of 1] Compiling Main ( hello.hs, hello.o ) Linking hello-cross ... target$ ./hello-cross Can't modify application's text section; use the GCC option -fPIE for position-independent executables.
You can pass -fPIE to gcc by using the -optc-fPIE flag. Thanks Ian