pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/35230 (devel/cpuflags assumes gcc)



The following reply was made to PR pkg/35230; it has been noted by GNATS.

From: Dan McMahill <dmcmahill%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: abs%NetBSD.org@localhost, pkgsrc-bugs%netbsd.org@localhost, 
gnats-admin%netbsd.org@localhost
Subject: Re: pkg/35230 (devel/cpuflags assumes gcc)
Date: Thu, 14 Dec 2006 11:52:22 -0500

 abs%netbsd.org@localhost wrote:
 > Synopsis: devel/cpuflags assumes gcc
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: abs%netbsd.org@localhost
 > State-Changed-When: Thu, 14 Dec 2006 14:52:09 +0000
 > State-Changed-Why:
 > Do you have details on compiler options for sunpro for different 
 > optimisations
 > and how to detect sunpro compiler versions (I don't have access to any 
 > Solaris
 > boxes at the moment)
 > 
 > 
 > 
 
       -V   Causes each invoked tool to print its version informa-
            tion on the standard error output.
 
 
 $ cc -V
 cc: Sun C 5.8 2005/10/13
 usage: cc [ options] files.  Use 'cc -flags' for details
 
 note that both lines came out on stderr and the return code was 1.
 
 $ CC -V
 CC: Sun C++ 5.8 2005/10/13
 
 
 $ f90 -V
 f90: Sun Fortran 95 8.2 2005/10/13
 Usage: f90 [ options ] files.  Use 'f90 -flags' for details
 
 $ f77 -V
 NOTICE: Invoking /opt/SUNWspro/bin/f90 -f77 -ftrap=%none -V
 f90: Sun Fortran 95 8.2 2005/10/13
 Usage: f90 [ options ] files.  Use 'f90 -flags' for details
 
 
 for CC, f90, f77, the return code was 0.  go figure...
 
 
 -xtarget=<t>    Specify target system for optimization
 -xarch=<a>      Specify target architecture instruction set
 -xcg89          Expands to -xarch=v7 -xchip=old -xcache=64/32/1
 -xcg92          Expands to -xarch=v8 -xchip=super -xcache=16/32/4:1024/32/1
 -xchip=<c>      Specify the target processor for use by the optimizer
 -xcache=<c>     Define cache properties for use by optimizer
 



Home | Main Index | Thread Index | Old Index