DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 5th December 2009
vigol's Avatar
vigol vigol is offline
Real Name: mehrshad moslehi
vigol
 
Join Date: Aug 2008
Location: tehran
Posts: 30
Default GCC in src tree or in ports tree

Does The GCC that contained in "src" is complete/Comprehensive or I should to obtain GCC/GLIBC from "ports" too? (I just use C/C++ compiler & Library [glibc] )
I suppose that the "src" tree must contain gcc, atleast for "Make" utility". Am I right?
__________________
mehrshad moslehi ---- vigol ---- vigolyas
Reply With Quote
  #2   (View Single Post)  
Old 6th December 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

You don't need to GCC from ports in order to compile C/C++ programs, the version of GCC distributed with FreeBSD is fine.

Also note there are multiple flavors of make, which are not always compatible. Probably the most popular version is GNU Make (devel/gmake) which is not the same as the make flavor that ships with FreeBSD.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 6th December 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

You should only use one of the lang/gccXY ports when you need GCC version X.Y.* and can't live without it.


If you release your software in FreeBSD ports with a dependency on GCC, you mayl also be cursed at if there isn't good reason, and I don't mean extra --flags :-P. I know I cuss at having to keep lang/gcc45 installed because of some port that requires it.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
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
Mount smb in zfs tree mururoa FreeBSD Installation and Upgrading 0 15th November 2009 04:02 PM
return of the -stable ports tree ocicat OpenBSD Packages and Ports 3 24th October 2009 04:11 AM
Is the source tree frozen until Nov 1st? lionsong OpenBSD General 6 7th October 2009 07:22 PM
STABLE ports tree has returned.. BSDfan666 OpenBSD Packages and Ports 2 26th July 2009 07:36 PM
cvsup upgrading/updating ports tree Ofloo FreeBSD Ports and Packages 6 25th May 2008 01:32 AM


All times are GMT. The time now is 06:09 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick