Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 2015 11:20:16 -0553.75
From:      "William A. Mahaffey III" <wam@hiwaay.net>
To:        FreeBSD Questions !!!! <freebsd-questions@freebsd.org>
Subject:   amd64-gcc question
Message-ID:  <5640D486.5050305@hiwaay.net>

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


I pkg-installed amd64-gcc over the weekend hoping for Graphite 
(auto-loop parallelization) support, but no go. I looked around over the 
weekend & found that there was no port for that package, only the pkg. I 
just did a 'portsnap fetch upgrade' & there is now a port for amd64-gcc, 
but it includes no files & no pkg-descr file. I determined over the 
weekend that the gcc's from about V4.3 on can indeed be built w/ 
Graphite support, but you need to do it manually. I found a post dated 
2010 from someone who did it under linux: 
http://openwall.info/wiki/internal/gcc-local-build. I see no configure 
files for any of the gcc ports (I have the entire ports tree downloaded 
& local, & freshly updated as of a few min. ago). What is the 
canonical/BPP (FreeBSD 9.3R) way of recompiling a port with different 
config flags ?


I did find ports/pkgs for the 2 main components apparently needed for 
Graphite support (cloog & ppl) & pkg-installed them over the weekend, so 
I am ready to go on that front.


I have gotten as far as running 'make showconfig' in the various gcc* & 
amd64-gcc directories to see what info I could get on default config 
options. In all cases they gave options & said to run 'make config' to 
change options. I didn't even see a 'config:' entry in the Makefiles 
(probably included from elsewhere, but I didn't chase it). I only want 
to make the minimum # of config mods necessary (trusting that pkg/port 
maintainers probably know more than I about their various pkg's & ports) 
to add the cloog & ppl support & recompile.


I have been using pkg almost exclusively to maintain my (now 3) FreeBSD 
9.3R boxen, except for recompiling the linux-c6 flash plugin for this 
box whenever it get upgraded, so I have *no* experience with getting 
more nitty-gritty w/ FreeBSD ports than that :-/. TIA & have a good one.


-- 

	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?5640D486.5050305>