Help me understand dependents of libgcc-devel vs gcc13?

Christopher Jones jonesc at hep.phy.cam.ac.uk
Wed Oct 18 08:20:50 UTC 2023



> 
> Clever!
> 
> One question of mine which did not get answered: "Q: why are ports like fftw-3 reported as dependents of port libgcc-devel? I don't see anything in fftw-3's portfile[2] which mentions port libgcc-devel, or indeed any gcc or libgcc, are dependencies.
> 
> "I suspect there is some behind-the-scenes dependency addition. Maybe it is behind the scenes because so many ports depend on C or C++ compilers. Where is this dependence addition documented? How should I as a user think of it?"


I a lot of ports gain this via the compilers PortGroup. It’s often used to for instance select a gcc compiler for fortran, as Xcode does not provide one.

 https://github.com/macports/macports-ports/blob/master/_resources/port1.0/group/compilers-1.0.tcl

Chris

> 
> Best regards,
>     —Jim DeLaHunt
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20231018/600719bb/attachment.htm>


More information about the macports-users mailing list