#51642: gcc49 @4.9.3: does not honor -march=native -------------------------+------------------- Reporter: noloader@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: gcc49 | -------------------------+------------------- Comment (by noloader@…): Replying to [comment:2 ryandesign@…]:
Setting `CXX=/opt/local/bin/x86_64-apple-darwin12-gcc-4.9.3` is unusual. Usually, you would set `CXX=/opt/local/bin/g++-mp-4.9`. Have you tried that already? Does it change anything?
Yeah, Uri Blumenthal told me it was wrong. I couldn't gind a c++ compile, so I installed GCC and hoped it would do the right thing based on file extensions: $ port search 'g++' No match for g++ found $ port search '*g++*' No match for *g++* found $ port search 'g\+\+' No match for g\+\+ found $ port search '*g\+\+*' No match for *g\+\+* found
Any particular reason you're using gcc 4.9.3? The latest stable version is 6.1.0, available in the gcc6 port.
Yes. I am setting up tests for MacPorts GCC compilers using a 4.x, 5.x and 6.x. They will all be tested eventually. -- Ticket URL: <https://trac.macports.org/ticket/51642#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X