Re: Building GHC on Solaris

2008-03-13 Thread Ian Lynagh
Hi Bernie, On Mon, Mar 10, 2008 at 05:51:50PM +1100, Bernie Pope wrote: > (If no one minds I'll keep dumping the issues that I find in this > thread.) I think getting gcc to use the GNU as, as you talk about later in this thread, is likely to be easier than fixing GHC to be compatible with Sol

Re: Building GHC on Solaris

2008-03-11 Thread Bernie Pope
Thanks Christian, I will try a build using the same gcc configuration as yours and see how it goes. Cheers, Bernie. On 10/03/2008, at 9:25 PM, Christian Maeder wrote: Here is our Solaris output (that worked): Cheers Christian -bash-3.1$ uname -a SunOS marie 5.10 Generic_120012-14 i86pc i

Re: Building GHC on Solaris

2008-03-09 Thread Bernie Pope
(If no one minds I'll keep dumping the issues that I find in this thread.) Solaris "as" chokes on the ".space" directive, which appears to be generated by the C-- compiler, specifically, compiler/nativeGen/PprMach.hs, line 693: pprData (CmmUninitialised bytes) = ptext SLIT(".space ") <>

Re: Building GHC on Solaris

2008-03-09 Thread Bernie Pope
On 10/03/2008, at 2:34 PM, Bernie Pope wrote: I'm trying to get GHC built on Solaris x86 (somewhat old version of it too -- not my choice). uname -a SunOS queeg 5.9 Generic_122301-19 i86pc i386 i86pc Solaris Here is how I configured ghc: ./configure --prefix=$HOME --with-gcc=/local/

Building GHC on Solaris

2008-03-09 Thread Bernie Pope
Hi, I'm trying to get GHC built on Solaris x86 (somewhat old version of it too -- not my choice). uname -a SunOS queeg 5.9 Generic_122301-19 i86pc i386 i86pc Solaris Here is how I configured ghc: ./configure --prefix=$HOME --with-gcc=/local/solaris/apps/gcc-4.0.2/ bin/gcc --with-gas=