pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gcc version selection



* On 2014-10-03 at 12:14 BST, Patrick Welche wrote:

> I'm still confused by gcc version selection - how is it meant to work?
> 
> On NetBSD 5/i386 (i.e., a system with gcc 4.1.3):
> 
> # cd /usr/pkgsrc/graphics/openexr
> # make show-var VARNAME=GCC_REQD
> 4.3 2.8.0
> # make show-depends
> {gcc49,gcc49-libs}>=4.9:../../lang/gcc49-libs
> ilmbase>=2.2.0nb1:../../graphics/ilmbase
> #
> 
> So, how did we get from 4.3 to 4.9?

Likely because pkgsrc has no GCC 4.3, and the current logic is that if
none of the patterns match we use the latest, i.e. 4.9.

Yes, we should probably fix this.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index