Date: Thu, 13 Nov 2003 18:05:00 +0000 From: Jens Rehsack <rehsack@liwing.de> To: Marc van Woerkom <marc.vanwoerkom@fernuni-hagen.de> Cc: ports@freebsd.org Subject: Re: Gcc 3.3 port Message-ID: <3FB3C7CC.8080803@liwing.de> In-Reply-To: <opryk7duhndmv4ke@mailstore.fernuni-hagen.de> References: <opryk7duhndmv4ke@mailstore.fernuni-hagen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Marc van Woerkom wrote: > I have a question regarding the gcc34 port under ports/lang. > > Does it replace the standard gcc or does it coexist? > > E.g. if I build a new userland/kernel from my /usr/src - > will this use its own gcc or use the gcc from the ports? Have a look into the pkg-plist file and the Makefile in ${PORTSDIR}/lang/gcc34, it'll show you that it's a snapshot of the summer gcc 3.3.1 and should be updated. Furthermore it shows you, that the installed binaries are in /usr/local/bin and have the suffix '33'. What does it mean in real? It means, if your path is similar to mine: $ echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/trevor/bin $ which cc /usr/bin/cc $ which gcc33 /usr/local/bin/gcc33 each program which lies in /usr/bin will be found (and excuted) before anyone from /usr/local/bin. If you now check the files in /usr/share/mk/, you may found out, that the system compiler is named 'cc', not 'gcc', so even if no suffix would be used, no conflict will occur. Finally, you can be sure that your system will be build with the right (recommented) compiler, as long as you don't add sth. like 'CC=gcc33' to your /etc/make.conf, local environment or something else what could affect 'make buildworld'. Regards, Jens
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FB3C7CC.8080803>