delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/24/06:45:20

Date: Thu, 24 Feb 2000 12:29:42 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Rossz <rwentwor AT advent DOT com>
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: <Pine.SUN.3.91.1000224122932.13848U-100000@is>
MIME-Version: 1.0
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

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019