Subject: pkg/35230: devel/cpuflags assumes gcc
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dmcmahill@NetBSD.org>
List: pkgsrc-bugs
Date: 12/10/2006 23:35:01
>Number:         35230
>Category:       pkg
>Synopsis:       devel/cpuflags assumes gcc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 10 23:35:01 +0000 2006
>Originator:     Dan McMahill
>Release:        NetBSD 2.0_STABLE
>Organization:
NetBSD
>Environment:
	
	
System: NetBSD bondage 2.0_STABLE NetBSD 2.0_STABLE (BONDAGE) #0: Tue Mar 29 13:12:53 EST 2005 dan@bondage:/export/disk2/netbsd-2/obj/alpha/sys/arch/alpha/compile/BONDAGE alpha
Architecture: alpha
Machine: alpha
>Description:

# cpuflags /opt/SUNWspro/bin/cc
cc: Warning: illegal option -dumpversion
usage: cc [ options] files.  Use 'cc -flags' for details
-mv8

# cpuflags gcc
-mcpu=v9

	
>How-To-Repeat:
see above
	
>Fix:
add some logic for sunpro making sure the result works correctly with the
compiler wrappers in pkgsrc.
	

>Unformatted: