#36161: apple-gcc42: exec: x86_64: not found ---------------------------+------------------------ Reporter: ryandesign@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: apple-gcc42 | ---------------------------+------------------------ Comment (by ryandesign@…): Similarly, if I activate cctools, clean, and try again, it fails with: {{{ /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_apple- gcc42/apple-gcc42/work/objroot/obj-x86_64-x86_64/./gcc/collect-ld: line 2: exec: -d: invalid option }}} And that file contains: {{{ #!/bin/sh exec "$@" }}} When I activate ld64, clean, and try again, then that file contains: {{{ #!/bin/sh exec /opt/local/bin/ld "$@" }}} So it sounds like both cctools and ld64 need to be in depends_lib not depends_run. -- Ticket URL: <https://trac.macports.org/ticket/36161#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS