This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: "too many input files" error from cpp (still more)
- To: Greg Shubin <gshubin at wco dot com>
- Subject: Re: [ECOS] "too many input files" error from cpp (still more)
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Mon, 11 Sep 2000 23:25:02 +0100
- CC: Greg Shubin <gshubin at sonic dot net>, ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <39B53699.DD8E6C15@sonic.net> <39B53D87.6D931896@redhat.com> <39B5BACF.95AAE4F5@wco.com>
Greg Shubin wrote:
> Here are some more clues. I added the gcc -v flag to the offending make file.
> The FreeBSD one says it is using a specs file, the Linux one says it will use
> builtin specs.
This definitely indicates a problem - it should not be using builtin specs.
I finally noticed the problem - your paths included:
/home/tools/H-i686-freebsd-gnu//lib/gcc-lib/arm-elf/2.95.2/cpp
There should not be a double slash. You should rebuild, but in the
configure line make sure there is no trailing slash on the prefix and
exec-prefix arguments.
The double slash definitely causes the problem you are seeing. I'll update
the FAQ entry to mention this.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault