New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #4106 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

RFE: gcc34 and g77

Reported by: yves@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

since gcc34 now provides g77, it would be nice that the symlink be done

--- Portfile.orig 2005-07-21 21:22:14.000000000 -0400 +++ Portfile 2005-07-21 16:20:04.000000000 -0400 @@ -63,5 +63,7 @@

post-destroot { cd ${destroot}${prefix}

file delete -force share/man/man7 file delete -force share/info

+ cd ${destroot}${prefix}/bin + system "ln -s g77-dp-${major} g77"

}

Change History

comment:1 Changed 8 years ago by gwright@…

  • Status changed from new to assigned

Hi Yves,

I'm willing to put this in as a variant (say, +g77link). I'd prefer not to have it as part of the default installation: the long name is supposed to remind you not to link modules compiled g77-dp-34 with ones compiled using Apple's gcc or g++. In particular, there are ABI incompatibilities with g++.

I understand that for people who develop with fortran the ling name is inconvenient. Is the variant OK with you?

Best Wishes, Greg

comment:2 Changed 8 years ago by yves@…

Yes, quite right, especially for those who have already g77 installed

But since g77 is deprecated, must every port maintainer update their Portfile to check for g77-dp-3.4 ?

could be default variant ?

comment:3 Changed 8 years ago by gwright@…

Hi Yves,

Every port maintainer who needs g77 should use port:gcc34 as a dependency.

I still prefer not to make the g77 link to g77-dp-3.4 the default because that will generate spurious bug reports by the unwary who do not realize that modules compiled by g77 should not be linked with modules compiled by Apple's gcc/g++.

-Greg

comment:4 Changed 8 years ago by yves@…

thanks from the spurious unwary ;-)

comment:5 Changed 8 years ago by yves@…

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.