pkgsrc-Users archive

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

Re: pkgsrc and OS X



Philipp Riegger wrote:
> On Oct 18, 2006, at 10:14 PM, Philipp Riegger wrote:
> 
> >>The issues with gprolog are obviously not specific pkgsrc
> >>but original bugs in the software.
> >
> >I had a look at darwinports and they just used gcc-3. What is the  
> >"normal" gcc-version used in netbsd? 3 or 4?
> 
> Ok, i tried gcc-3 and it just built. So, does pkgsrc use gcc3 or  
> gcc4? An easy workaround for OS X might be to check if /usr/bin/ 
> gcc-3.3 exists, tell configureto use it if it exists and die with an  
> error message if not.

pkgsrc will use whatever C compiler you have installed. Of course, it only
knows about GCC and maybe whatever native compiler exists for a given platform.
If a program doesn't build with GCC 4 that simply means it's broken. Since GCC
gets more strict with each release - which is good - lots of programs will not
build with GCC 4 until someone fixes them. The bugs might also show up in
platform-specific parts of the code, so pkgsrc might build it successfully on
one platform but not another.

So GCC 3.x might be the better choice for you for the time being unless you
can fix the bugs yourself. You should certainly report these bugs to the
original authors.

-- 
Christian



Home | Main Index | Thread Index | Old Index