[MacPorts] #43734: *gcc*, gcc_select: add symlink for ${prefix}/bin/cc
#43734: *gcc*, gcc_select: add symlink for ${prefix}/bin/cc ---------------------+-------------------------------- Reporter: ionic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: gcc_select ---------------------+-------------------------------- As reported on the macports-users mailing list, (mport)select should also create a symlink for ${prefix}/cc to the selected GCC version. As the select function only takes a list of sources and targets and no port is currently installing a ${prefix}/bin/cc-mp-${version} file, I see two ways to tackle this: - add a symlink in destroot for ${destroot}${prefix}/bin/cc-mp-${version} to ${destroot}${prefix}/bin/gcc-mp-${version} (or just plain copy the binary) and add both bin/cc and bin/cc-mp-$version to gcc_select and all select files in the *gcc* ports - add an entry for bin/cc in gcc_select's base file and bin/gcc- mp-$version in all select files in the *gcc* ports. What are your thoughts? -- Ticket URL: <https://trac.macports.org/ticket/43734> MacPorts <http://www.macports.org/> Ports system for OS X
#43734: *gcc*, gcc_select: add symlink for ${prefix}/bin/cc -------------------------+------------------- Reporter: ionic@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gcc_select | -------------------------+------------------- Comment (by Peter.Danecek@…): IMO, I do not think, `gcc` and `g++` should be moved from gcc_select. The *_select ports are about where some common names, e.g. `ipython` or ``gcc` point (link) to, not necessary about to which ports, e.g. `gcc48` they have to point. So having a `gcc_select` port and `port select gcc ...` around which would not influence the `gcc` is contradictory. Instead, one could consider -- if this is really what we want -- that `port select gcc ...` can be set to some `clang` versions as well. To my understanding there is no `cpp` binary is provided by clang. -- Ticket URL: <https://trac.macports.org/ticket/43734#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#43734: *gcc*, gcc_select: add symlink for ${prefix}/bin/cc -------------------------+-------------------- Reporter: ionic@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: duplicate | Keywords: Port: gcc_select | -------------------------+-------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => duplicate Comment: Duplicate of #30434. -- Ticket URL: <https://trac.macports.org/ticket/43734#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#43734: *gcc*, gcc_select: add symlink for ${prefix}/bin/cc -------------------------+-------------------- Reporter: ionic@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: duplicate | Keywords: Port: gcc_select | -------------------------+-------------------- Changes (by petr@…): * cc: Peter.Danecek@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/43734#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts