Date: Fri, 24 Jul 92 14:08:54 +0100 From: buers AT dg1 DOT chemie DOT uni-konstanz DOT de (Dieter Buerssner) To: djgpp AT sun DOT soe DOT clarkson DOT edu Cc: dj AT ctron DOT com Subject: cpp doesn't find _local_ include files Cpp does not always find local include files. i.e. C:\DJGPP\LIBSRC\C>gcc -c gnu\_xordi3.c gnu\_xordi3.c:2: gnulib2/gnulib2.c: file not found Everything works alright, if you use slashes instead of backslashes. C:\DJGPP\LIBSRC\C>gcc -c gnu/_xordi3.c File _xordi3.c: #define L_xordi3 #include "gnulib2/gnulib2.c" I think, this should be considered a bug. If you ask, why I want to use backslashes. It's because I wanted to recompile libc using dmake instead of gnuish make. (gnuish make always prints "out of virtual memory"). dmake executes the command like in the first example, when the DOS switchar is slash. I didn't know how I could change the switchar (I don't know it now either, but I cheated dmake with set SWITCHAR=-). Dieter Dieter Buerssner (B\"ur\ss{}ner) -- buers AT dg1 DOT chemie DOT uni-konstanz DOT de Universitaet Konstanz -- Fakultaet Chemie -- Postfach 5560 7750 Konstanz -- Germany -- +49-7531-882021