Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2016 10:25:09 -0553.75
From:      "William A. Mahaffey III" <wam@hiwaay.net>
To:        FreeBSD toolchain mailing list !!!! <freebsd-toolchain@freebsd.org>
Subject:   gcc5-devel question
Message-ID:  <56D5C11B.3050805@hiwaay.net>

next in thread | raw e-mail | index | archive | help


I did a full pkg upgrade on my FreeBSD 9.3R developement box this A.M. 
This upgraded gcc5-devel, as it should have. My system gcc5 seems to 
come from the pkg:


[root@devbox, /etc, 10:22:49am] 494 % pkg query '%Fp' gcc5-devel | grep 
'local/bin/gcc'
/usr/local/bin/gcc-ar5
/usr/local/bin/gcc-nm5
/usr/local/bin/gcc-ranlib5
/usr/local/bin/gcc5
[root@devbox, /etc, 10:22:54am] 495 % ll -tr /usr/local/bin/gcc*
-r-xr-xr-x  3 root  wheel  643768 Nov 30 21:34 /usr/local/bin/gcc48*
-r-xr-xr-x  2 root  wheel   24880 Nov 30 21:34 /usr/local/bin/gcc-ranlib48*
-r-xr-xr-x  2 root  wheel   24880 Nov 30 21:34 /usr/local/bin/gcc-nm48*
-r-xr-xr-x  2 root  wheel   24920 Nov 30 21:34 /usr/local/bin/gcc-ar48*
lrwxr-xr-x  1 root  wheel      20 Nov 30 21:35 /usr/local/bin/gcc@ -> 
/usr/local/bin/gcc48
-r-xr-xr-x  3 root  wheel  846360 Feb 20 05:07 /usr/local/bin/gcc49*
-r-xr-xr-x  2 root  wheel   25464 Feb 20 05:07 /usr/local/bin/gcc-ranlib49*
-r-xr-xr-x  2 root  wheel   25464 Feb 20 05:07 /usr/local/bin/gcc-nm49*
-r-xr-xr-x  2 root  wheel   25464 Feb 20 05:07 /usr/local/bin/gcc-ar49*
-r-xr-xr-x  3 root  wheel  895144 Feb 27 23:00 /usr/local/bin/gcc5*
-r-xr-xr-x  2 root  wheel   25912 Feb 27 23:00 /usr/local/bin/gcc-ranlib5*
-r-xr-xr-x  2 root  wheel   25912 Feb 27 23:00 /usr/local/bin/gcc-nm5*
-r-xr-xr-x  2 root  wheel   25944 Feb 27 23:00 /usr/local/bin/gcc-ar5*
[root@devbox, /etc, 10:22:56am] 496 % which gcc5
/usr/local/bin/gcc5
[root@devbox, /etc, 10:23:49am] 497 %


When I run gcc5 from the CLI or under make as a regular user, it reports 
no Graphite support compiled in. When I update the gcc5-devel port, it 
reports Graphite enabled:


[root@devbox, gcc5-devel, 10:24:47am] 504 % make showconfig
===> The following configuration options are available for 
gcc5-devel-5.3.1.s20160223:
      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@devbox, gcc5-devel, 10:24:51am] 505 %


Is it intentional that the port & pkg have different support options 
(specifically Graphite) ?


-- 

	William A. Mahaffey III

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

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56D5C11B.3050805>