Subject: test for gcc3 ?
To: None <tech-pkg@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-pkg
Date: 03/19/2004 21:49:11
Hi,
what is the appropriate test to know if we are using gcc3 or some other kind
of compiler ?
I need to do this for emacs:
.if ${OPSYS} == "SunOS"
CFLAGS+=        -fno-zero-initialized-in-bss
.endif
but only if using gcc3 (this doesn't exists in gcc2).

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--