Subject: test for gcc3 ?
To: None <>
From: Manuel Bouyer <>
List: tech-pkg
Date: 03/19/2004 21:49:11
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
but only if using gcc3 (this doesn't exists in gcc2).

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference