#36428: gcc43, gcc44, gcc45: as: more than one -arch option ----------------------------------+------------------- Reporter: mwglass@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: gcc43, gcc44, gcc45 | ----------------------------------+------------------- Comment (by jeremyhu@…): As this is reported with older gcc, you can use -v, you can see how as is being executed differently: 4.5: {{{ /opt/local/bin/as -v -Ia/search -arch x86_64 -force_cpusubtype_ALL -o test.o /var/folders/kd/lg174pm94bz417bmp5vv57j80000gn/T//ccpSXwIb.s }}} 4.7: {{{ /opt/local/bin/as -v -I a/search -arch x86_64 -force_cpusubtype_ALL -o test.o /var/folders/kd/lg174pm94bz417bmp5vv57j80000gn/T//ccOXvW5f.s }}} Note the space between -I and "a". It looks like older gcc pass on the arguments as they get them (-Iabc becomes -Iabc, and -I abc becomes -I abc). Newer gcc separate them out into two arguments. We can probably deal with this in cctools. -- Ticket URL: <https://trac.macports.org/ticket/36428#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS