Mail Archives: djgpp/1999/04/02/13:45:22
Gurunandan R Bhat wrote:
>
> Greetings,
>
> Apologies if this appears twice. I am trying to build gcc-2.8.1
> crosscompiler on linux with djcrx. I believe I have followed the
> instructions in the HOWTO Repository on DJ's site. My build fails with the
> following error:
>
> -----------------------------------------------------------------
> In file included from ../gcc-2.8.1/objc/hash.c:31:
> ../gcc-2.8.1/objc/runtime.h:31: stdio.h: No such file or directory
> ../gcc-2.8.1/objc/runtime.h:32: ctype.h: No such file or directory
> In file included from ../gcc-2.8.1/objc/runtime.h:38,
> from ../gcc-2.8.1/objc/hash.c:31:
> include/objc/objc-api.h:33: stdio.h: No such file or directory
> make: *** [objc/hash.o] Error 1
> -----------------------------------------------------------------
>
> My native Linux compiler is gcc-2.7.2.3 and I have used my current
> installation to build many complex packages including emacs. I therefore
> doubt that this a native compiler installation problem.
>
> I would be happy to mail the detailed log of make, if you so desire. It is
> 38K long. I would appreciate if you could mail responses to me in addition
> to the mailing list.
First, be aware that the DJCRX instructions are intended for GCC 2.7.x.
The GNU gcc dist of 2.8.x doesn't include the latest DJGPP changes, so
you should probably update some of the source files from the DJGPP
sources.
It would probably help to see the command that generated the error (the
previous line). However, if you don't really need Objective-C, I'd
suggest that you don't build it at all. Just pass `make' the parameter
"LANGUAGES=c c++" (with the quotes).
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -