Sven Panne writes:
> Jon Mountjoy wrote:
> > 
> > Hello Everybody,
> > 
> > [...] I thought I'd also share the following problems experienced
> > while compiling ghc-2.02 on my Sparc running Solaris 2.5.1.
> 
> Here the Linux 2.0.27 success story.
> 

Thanks for the useful feedback, as mentioned in the reply to Jon's
post, we've hopefully put in fixes in 2.03 to the various problems
you've come across..

...
> 
> > [4] During installation, (gmake install), strip gets called on perl scripts.
> >     Doesn't cause an error of course, but may do on some systems. [...]
> 
> Perhaps one should use something like
> 
>    file blah | grep "perl commands text" > /dev/null || strip blah
> 
> Same goes for shell scripts.
> 

Yup, the Makefile setup should now distinguish between *real* binaries
and ones where you just want the exec bit set when installing.

>
 ...
> 
> And a last point: IMHO it isn't a good idea that mkdependHS and hscpp
> contain the absolute Path to gcc's cpp:
> 
>    
>$RAWCPP="/soft/IFI/lang/gcc-2.7.2.1/iX86-unknown-linux/lib/gcc-lib/i586-unknown-linux/2.7.2.1/cpp
> -traditional";
> 
> Migrating to another version of gcc (and thereby deleting the old one)
> forces some minor (but nonetheless easily forgettable!) editing in ghc.
> 

Yes, not too hot an idea to do this - the scripts should be able to
deal with failure to find ${RAWCPP} though, deriving it from
the output of `gcc -v' instead.

--Sigbjorn

Reply via email to