gcc-6

Ryan Schmidt ryandesign at macports.org
Thu May 19 06:13:26 PDT 2016


> On May 19, 2016, at 7:51 AM, René J.V. Bertin <rjvbertin at gmail.com> wrote:
> 
> On Thursday May 19 2016 11:22:35 René J.V. Bertin wrote:
> 
>> So it seems that the only feasible things are skipping the ObjC and/or ObjC++ compilers, and the Java compiler. I'll try to round up my "little" experiment to assess if that makes a lot of difference in installation footprint.
> 
> Skipping those components gives me a destroot directory that is 185Mb big, as opposed to the 359Mb from the binary package for 10.9 . I must add that I build with optflags="-Os -march=core2", though; -Os overriding GCC's default -O2 may have made some difference too.

So we don't know how much each of those modifications contributed to the space difference.

> Still, a pretty significant reduction in size that might interest users who install gcc only because they need a Fortran compiler. Ports that used to depend simply on port:gccXY because they need either Java or Fortran will need to change to using a path: style dependency on a representative component; that should call for installation of the "uncut" port if that component is missing.

You can't have two ports install files to the same locations without conflicting with one another. And having two ports install the same files is redundant and counterproductive.



More information about the macports-users mailing list