[LLVMdev] llvm-gcc and -march

Eli Friedman eli.friedman at gmail.com
Mon Aug 22 14:39:13 PDT 2011


On Mon, Aug 22, 2011 at 2:34 PM, Nichols A. Romero <naromero at gmail.com> wrote:
> Hi,
>
> I apologize if I am not asking on the right mailing list.
>
> I am using the llvm-gcc4.2 from MacPorts.
> https://trac.macports.org/browser/trunk/dports/lang/llvm-gcc42/Portfile
>
> llvm-gcc does not seem to accept the -march flag. This is the error,
> I got:
>
> cc1: error: unrecognized command line option "-march"
>
> The port developer asked me to find out if this is a known issue.

llvm-gcc 4.2 should support almost exactly the same command-line
options as gcc 4.2, including -march.  How exactly are you getting
this error?

-Eli



More information about the llvm-dev mailing list