From: Keith M. <kei...@us...> - 2009-07-07 19:46:34
|
On Tuesday 07 July 2009 15:41:03 Heiko Lechner wrote: > Now I got a makefile which invokes the following: > > powerpc-405-linux-gnu-gcc catgets.c [...bla...] > -DNLSPATH='"/home/Heiko/xcompilers/..."' > So I added "-save-temps" and in catgets.i NLSPATH is resolved to: > "C:\msys\1.0\home\Heiko\xcompilers\..." > > So the preprocessor turned all "/" into "\" which is the worst. It isn't the preprocessor which has done this; it is MSYS' generally helpful path translation feature. In your case, this is *not* what you want, but unfortunately, there is probably no way to avoid it, and still get the path passed as you want it. For your current application, GNU/Linux or Cygwin would be a better choice of working platform. -- Regards, Keith. |