Subject: Re: GCC 3.4.1 how to use ?
To: Zafer Aydogan <zafer@gmx.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: current-users
Date: 09/10/2004 18:49:03
On Sat, 11 Sep 2004, Zafer Aydogan wrote:

> > >    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.

> > CC=             /usr/pkg/gcc34/bin/gcc
> > CPP=            /usr/pkg/gcc34/bin/cpp
> > CXX=            /usr/pkg/gcc34/bin/c++

> Thanks for your help Jeremy.
> But setting as environment Variables brings this error:
>
> $ make
> ===> Unable to satisfy dependency: gcc3-c>=3.4.1

I was thinking you were wanting to do it in your own builds and no all in
pkgsrc. (This is the -current list. I set reply-to to tech-pkg.)

The compiler.mk system for pkgsrc doesn't know about gcc34 yet.

So you may want to try what the package suggested:

    1) In your "pre-configure" target:

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

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

You will need to do this in the individual Makefile(s) for the pksgrc
package(s) you want to build.

By the way, my email to you earlier bounced.

 Jeremy C. Reed

 	  	 	 BSD News, BSD tutorials, BSD links
	  	 	 http://www.bsdnewsletter.com/