Hello, Willow> C:\Downloads\llvm-gcc4.2-2.3-x86-mingw32\llvm-gcc4.2\bin>llvm-gcc a.c -o a > a.c:1: error: bad value (generic) for -mtune= switchSomething is really broken at your side. Are you running Vista? -- WBR, Anton Korobeynikov
On Sun, Jul 27, 2008 at 10:15 PM, Willow Schlanger <wschlanger at gmail.com> wrote:> Yes I am running Vista. I tried running the program as an Administrator > but I get the same error. What is a valid -mtune argument I can try?generic *is* a valid value for mtune; however, it's was added to gcc relatively recently. This is only a rough guess, but the most likely issue is that llvm-gcc is somehow picking up version of gcc bundled with mingw from the path. Maybe try something like the following and see if it works? PATH="" ./llvm-gcc a.c -o a -Eli
Yes I am running Vista. I tried running the program as an Administrator but I get the same error. What is a valid -mtune argument I can try? Thanks, Willow Anton Korobeynikov wrote:> Hello, Willow > > >> C:\Downloads\llvm-gcc4.2-2.3-x86-mingw32\llvm-gcc4.2\bin>llvm-gcc a.c -o a >> a.c:1: error: bad value (generic) for -mtune= switch >> > Something is really broken at your side. Are you running Vista? > > -- > WBR, Anton Korobeynikov > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >