Date: Thu, 24 Feb 2000 12:29:42 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Rossz cc: djgpp AT delorie DOT com Subject: Re: More on building a cross compiler - help needed In-Reply-To: <891o8d$ijr$1@nnrp1.deja.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 23 Feb 2000, Rossz wrote: > h8300-hms-gcc -O2 -fno-builtin -fomit-frame-pointer -Wall > -Id:/legOS/include -I. -Id:/legOS/boot -c helloworld.c -o helloworld.o > h8300-hms-gcc.exe: installation problem, cannot exec `cpp': No such file > or directory (ENOENT) > make.exe: *** [helloworld.o] Error 1 If you add -v to the compiler switches, what path for cpp does it display? > So I copied cpp.exe from cross/h8300-hms/bin/ to cross/bin/. This > resulted in this: > > h8300-hms-gcc -O2 -fno-builtin -fomit-frame-pointer -Wall > -Id:/legOS/include -I. -Id:/legOS/boot -c helloworld.c -o helloworld.o > cpp.exe: installation problem, cannot exec `cpp': Argument list too long > (E2BIG) > make.exe: *** [helloworld.o] Error 1 It looks like gcc doesn't recognize cpp.exe as a DJGPP program, so it it thinks it cannot pass long command lines to it. Any idea why would the compiler fail to recognize cpp? It *is* a normal DJGPP program, isn't it?