[Haskell-cafe] installing ghc-6.8.2

michael at schmong.org michael at schmong.org
Wed Apr 2 20:45:14 EDT 2008


Apologies to Ian, I think I sent him direct mail on my first attempt to
reply.
Adding those lines to mk/build.mk did not work.
I hope Idon't have to build a newer gcc. This is what I have right now.
michael at schmong:~/src/gcc$ gcc -v

Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared
--enable-__cxa_atexit --with-system-zlib --enable-nls
--without-included-gettext --enable-clocale=gnu --enable-debug
--enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc
i486-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)



On Thu, Apr 03, 2008 at 12:50:46AM +0100, Ian Lynagh wrote:
> On Wed, Apr 02, 2008 at 07:12:16PM -0400, michael at schmong.org wrote:
> > 
> > so it's this line that seems of the most interesting
> > 
> > cc1: error: unrecognized option `-fno-unit-at-a-time'
> 
> It looks like your version of ghc isn't designed to be used with the
> version of gcc you have.
> 
> Putting this in mk/build.mk ought to let the build go through:
> 
> SRC_HC_OPTS     = -fasm
> GhcStage1HcOpts = -fasm
> 
> 
> Thanks
> Ian


More information about the Haskell-Cafe mailing list