Subject: Re: Systems with GCC 3 as the system compiler
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 09/11/2003 21:50:24
On Thu, Sep 11, 2003 at 10:19:30AM +0300, Martti Kuparinen wrote:
> Hi!
>
> How should we handle hosts with GCC 3 as the system compiler? I updated
> pkgsrc/devel/ddd to the latest version and it requires GCC 3.x to compile
> correctly.
>
> I have GCC 3.3 as the dafult compiler in Slackware Linux so I don't
> want to install the lang/gcc3 package. What is the right place to
> check the system compiler's version, mk/gcc.buildlink2.mk or
> lang/gcc3/buildlink2.mk?
>
> Martti
>
>
> ROOT n52:/usr/pkgsrc/devel/ddd> bmake clean clean-depends
> sh: line 1: /usr/pkg/gcc-3.3/bin/gcc: No such file or directory
> dirname: too few arguments
> Try `dirname --help' for more information.
> bmake: "../../mk/../lang/gcc3/../../mk/../lang/gcc3/buildlink2.mk" line 28:
> warning: "dirname `/usr/pkg/gcc-3.3/bin/gcc --print-libgcc-file-name`"
I just removed the USE_GCC3 definition from devel/ddd - packages
should not set USE_GCC2/3, they are user variables to indicate "I want
to use pkgsrc gcc2/3".
we should definitely provide a way for packages to specify a minimum
version of gcc. I've started some work on this, but it's far from
complete.
g.