Subject: Re: Gcc 3.4
To: None <port-sparc@NetBSD.org>
From: Laurens Vets <laurens@daemon.be>
List: port-sparc
Date: 05/19/2005 20:33:56
> I've been trying to get a broswer to work on my sparc.  However, 
> anything mozilla related (firefox, galeon, epiphany, mozilla, ...) 
> doesn't want to compile.  I've read on various fora etc that there is a 
> problem in gcc 3.3 which prohibits mozilla from compiling succesfully.
> 
> Can I upgrade gcc on my NetBSD 2.0.2 to gcc 3.4 without a lot of hassle?
> 
> There is dillo, but it's unstable...
> 
> Thanks in advance!

I've build and installed gcc-3.4.  The installation ended with the 
following message:

 
===========================================================================
  $NetBSD: MESSAGE,v 1.1.1.1 2004/06/29 18:01:24 shannonjr Exp $

  gcc34-3.4.1nb4 has been installed in /usr/pkg/gcc34

  To use this compiler in pkgsrc:

     1) In your "pre-configure" target:

     .include "../../lang/gcc34/preconfigure.mk"

     2) .include "../../lang/gcc34/buildlink3.mk"

  The "preconfigure.mk" makefile fragment will override the compiler tools
  selected by ../../mk/compiler.mk to use gcc version 3.4.x.

 
===========================================================================

Does that mean that I have to put ".include 
"../../lang/gcc34/preconfigure.mk"" in 
/usr/pkgsrc/CATEGORY/PACKAGE/Makefile?  Where does the second line go?

Thanks in advance!