Subject: how to to detect gcc 2.95.*
To: None <>
From: Martti Kuparinen <>
List: tech-pkg
Date: 08/27/2001 10:28:49

I'm creating a package which requires GCC 2.95.*

I have copied the idea of detecting path to gcc from
pkgsrc/devel/stlport but this is not the right way
of doing things in 1.5X as it already has (at least sparc64)
version 2.95.2 in /usr/bin/gcc and doesn't need therefore
a packaged version of gcc.

Has anyone come to the "right" way of doing this? This seems
to be easy to do but I don't want to re-invent the wheel...


Martti Kuparinen <>              NetBSD - No media hype