Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 2015 08:20:50 -0553.75
From:      "William A. Mahaffey III" <wam@hiwaay.net>
To:        FreeBSD toolchain mailing list !!!! <freebsd-toolchain@freebsd.org>
Subject:   amd64-gcc question
Message-ID:  <56449EF8.7070806@hiwaay.net>

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


Howdy, new to this list. I posted this to FreeBSD-users & was advised to 
try this list or the GNU GCC list, so here goes:


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.


BTW:

[wam@devbox, pre, 8:19:58am] 676 % uname -a
FreeBSD devbox 9.3-RELEASE-p24 FreeBSD 9.3-RELEASE-p24 #0: Sat Aug 22 
01:54:44 UTC 2015 
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
[wam@devbox, pre, 8:20:00am] 677 % sysctl -A | grep -A1 -B1 model
hw.machine: amd64
hw.model: AMD A8-6500 APU with Radeon(tm) HD Graphics
hw.ncpu: 4
--
dev.rgephy.0.%location: phyno=1
dev.rgephy.0.%pnpinfo: oui=0xe04c model=0x0 rev=0x0
dev.rgephy.0.%parent: miibus0
[wam@devbox, pre, 8:20:12am] 678 %


-- 

	William A. Mahaffey III

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

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

_______________________________________________
freebsd-questions@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56449EF8.7070806>