Mail Archives: djgpp/2000/02/24/06:45:20
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?
- Raw text -