How to Select Compiler Version when Installing Port

Simon Barner barner at in.tum.de
Wed Jan 14 18:43:44 PST 2004


Daniel J Cain Jr. wrote:
> I am trying to get vmailmgr-0.96.9 to build from the ports collection of
> FreeBSD 5.1-RELEASE.  I 'think' it will work if I can have the port use
> a different compiler version during the build.  I have been unable to
> figure/find out how (if?) this is possible.  By default it seems to use
> gcc 3.2.2, and I have the port install of gcc 2.9.5 available I just
> don't know how to make 'make' use the older version.

I usually use

make CC=<your C compiler here> CXX=<your C++ compiler here> build

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040115/9d065442/attachment.bin


More information about the freebsd-questions mailing list