[moved from toolchain] GCC5: pkg vs. ports

William A. Mahaffey III wam at hiwaay.net
Wed Feb 3 14:58:58 UTC 2016


On 02/03/16 08:49, Torsten Zuehlsdorff wrote:
>
> On 03.02.2016 15:18, William A. Mahaffey III wrote:
>> When I checked the port w/ make showconfig. it shows graphite enabled.
>
> make showconfig shows the configuration at your *local* portstree. It 
> does not affect or display the settings of pkg.
>
> To check the configuration of "pkg-ports" perform a:
> $ pkg info gcc5
>
> Greetings,
> Torsten
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


Thanks, I replied elsewhere that it was gcc5-devel, pilot error. However:


[root at devbox, f2c, 8:56:22am] 358 % pkg info gcc5
pkg: No package(s) matching gcc5
[root at devbox, f2c, 8:57:12am] 359 % pkg info gcc5-devel
gcc5-devel-5.3.1.s20160119
Name           : gcc5-devel
Version        : 5.3.1.s20160119
Installed on   : Mon Feb  1 08:29:51 2016 MCST
Origin         : lang/gcc5-devel
Architecture   : freebsd:9:x86:64
Prefix         : /usr/local
Categories     : lang java
Licenses       : GPLv3 and GPLv3RLE
Maintainer     : gerald at FreeBSD.org
WWW            : http://gcc.gnu.org/
Comment        : GNU Compiler Collection 5
Options        :
         BOOTSTRAP      : on
         GRAPHITE       : off
         JAVA           : on
Shared Libs required:
         libgmp.so.10
         libmpfr.so.4
         libmpc.so.3
         libiconv.so.2
Shared Libs provided:
         libgcj-tools.so.16
         libssp.so.0
         libcc1.so.0
         libatomic.so.1
         libgomp-plugin-host_nonshm.so.1
         libcilkrts.so.5
         libgij.so.16
         libstdc++.so.6
         libjvm.so
         libitm.so.1
         libgcj.so.16
         libcc1plugin.so.0
         libgcc_s.so.1
         libquadmath.so.0
         libjavamath.so
         liblto_plugin.so.0
         libgomp.so.1
         libgfortran.so.3
         libobjc.so.4
Annotations    :
         cpe            : cpe:2.3:a:gnu:gcc:5.3.1:::::freebsd9:x64
         repo_type      : binary
         repository     : FreeBSD
Flat size      : 423MiB
Description    :
GCC, the GNU Compiler Collection, supports a number of languages. This
port installs the C, C++, Fortran and Java front ends as gcc5, g++5,
gfortran5, and gcj5, respectively.

WWW: http://gcc.gnu.org/

Gerald Pfeifer <gerald at FreeBSD.org>
[root at devbox, f2c, 8:57:19am] 360 % which gcc5
/usr/local/bin/gcc5
[root at devbox, f2c, 8:59:56am] 361 %


i.e. pkg doesn't have anything on gcc5 (which is installed), does for 
gcc5-devel. May be nothing, I got the gcc5-devel port recompiled & 
referenced by my Makefiles, so all is back to working. My newly 
downloaded gcc5-devel port *does* show graphite enabled:


[root at devbox, gcc5-devel, 8:49:12am] 415 % pwd
/usr/ports/lang/gcc5-devel
[root at devbox, gcc5-devel, 8:49:16am] 416 % make showconfig
===> The following configuration options are available for 
gcc5-devel-5.3.1.s20160126:
      BOOTSTRAP=on: Build using a full bootstrap
      GRAPHITE=on: Support for Graphite loop optimizations
      JAVA=on: Java platform support
===> Use 'make config' to modify these settings
[root at devbox, gcc5-devel, 8:49:18am] 417 % uname -a
FreeBSD devbox 9.3-RELEASE-p33 FreeBSD 9.3-RELEASE-p33 #0: Wed Jan 13 
17:55:39 UTC 2016 
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
[root at devbox, gcc5-devel, 8:49:20am] 418 % lltr
total 1044
-rw-r--r--  1 root  wheel       239 Aug 23  2014 pkg-descr
-rw-r--r--  1 root  wheel      2869 Sep 26 06:09 pkg-plist
-rw-r--r--  1 root  wheel       140 Jan 31 17:00 distinfo
-rw-r--r--  1 root  wheel      5342 Jan 31 17:00 Makefile
drwxr-xr-x  2 root  wheel         6 Feb  1 08:07 files/
drwxr-xr-x  5 root  wheel        17 Feb  1 10:33 work/
-rw-r--r--  1 root  wheel  12158032 Feb  1 10:33 LIST
[root at devbox, gcc5-devel, 8:49:21am] 419 %



-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.



More information about the freebsd-ports mailing list