Re: [R] R CMD SHLIB gives error: bad value (generic) for -mtune= switch

2007-11-04 Thread Prof Brian Ripley
This is clearly a compiler configuration error, not an R error. I note that you have c:\Rtools\MinGW\libexec\gcc\mingw32\3.4.5 in your path, which is *not* part of the instructions for R 2.6.0. Please try again without it. On Sat, 3 Nov 2007, McKay Curtis wrote: Hello, I am trying to

Re: [R] R CMD SHLIB gives error: bad value (generic) for -mtune= switch

2007-11-04 Thread McKay Curtis
Thanks Prof. Ripley. I removed that snippet from my path, and R CMD SHLIB works like a dream... Thanks again, McKay On Nov 4, 2007 2:32 AM, Prof Brian Ripley [EMAIL PROTECTED] wrote: This is clearly a compiler configuration error, not an R error. I note that you have

[R] R CMD SHLIB gives error: bad value (generic) for -mtune= switch

2007-11-03 Thread McKay Curtis
Hello, I am trying to compile C code using the R CMD SHLIB command. I get this error: R CMD SHLIB gibbs.c making gibbs.d from gibbs.c gibbs.c:0: error: bad value (generic) for -mtune= switch make: [gibbs.d] Error 1 (ignored) cat: gibbs.d: No such file or directory make: [makeMakedeps] Error 1