ab30 [Solved] WITH_GCC vs. BUILDFLAGS_GCC in bsdadminscripts, distcc, ccache - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old May 27th, 2010, 12:28
kdemidofff kdemidofff is offline
Junior Member
 
Join Date: May 2010
Location: Saipan, CNMI (USA)
Posts: 93
Thanks: 27
Thanked 7 Times in 6 Posts
Question WITH_GCC vs. BUILDFLAGS_GCC in bsdadminscripts, distcc, ccache

Im trying to make sysutils/bsdadminscripts work but have some troubles

i want use lang/gcc44 or lang/gcc45 for compilation of compatible ports and some userland
but have trouble with setting it up

i installed bsdadminscripts, gcc44, ccache, distcc but have broken builds requiring "gcc4444"

1. can i use global WITH_GCC? what value shall i set it to? shall i set before
Code:
BUILDFLAGS=/usr/local/share/bsdadminscripts/buildflags.mk
.if exists(${BUILDFLAGS})
.include "${BUILDFLAGS}"
.endif
2. can i also use in make.conf

Code:
.if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc44)
CC=gcc44
CXX=g++44
CPP=cpp44
.endif
for quick and dirty hack compiler without bells, whistles, blackjack and and/or wores
or shall i use just
Code:
.if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc44)
WITH_GCC?=44
.endif
i know about options in buildflags.conf
Code:
BUILDFLAGS_GCC=44
but im confused when use which options, i need global compiler as gcc44 with exception of buildworld and some ports

what also about setup order of gcc44 ccache distcc? is it right? (i know libtool needs reinstalled on new compiler)

if i add gcc45 i need to reinstall all also?

Also: how can i check that i build port with gcc44 not base one?

Last edited by kdemidofff; May 28th, 2010 at 14:07.
Reply With Quote
  #2  
Old May 27th, 2010, 14:03
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,935
Thanks: 30
Thanked 1,930 Times in 1,351 Posts
Default

Read this? http://www.freebsd.org/doc/en/articl...c/article.html
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #3  
Old May 27th, 2010, 14:10
kdemidofff kdemidofff is offline
Junior Member
 
Join Date: May 2010
Location: Saipan, CNMI (USA)
Posts: 93
Thanks: 27
Thanked 7 Times in 6 Posts
Default

it doesn't worked with bsdadminscripts, distcc, ccache

Seems was a specific port problem

Last edited by kdemidofff; May 28th, 2010 at 14:06.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: FreeBSD with CCACHE vermaden Howtos & FAQs (Moderated) 52 June 2nd, 2012 15:45
problems using ccache and buildworld kuyaedz Installing & Upgrading 2 May 8th, 2010 14:55
Have two gcc coff Installation and Maintenance of FreeBSD Ports or Packages 2 February 20th, 2010 16:16
ccache, bsdadminscripts and ports asdsdf Installation and Maintenance of FreeBSD Ports or Packages 3 May 12th, 2009 10:16
Using distcc with ports frankS2 Installation and Maintenance of FreeBSD Ports or Packages 11 February 23rd, 2009 19:05


All times are GMT +1. The time now is 19:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0