Sender: nate AT cartsys DOT com Message-ID: <37050B75.7329BDEF@cartsys.com> Date: Fri, 02 Apr 1999 10:24:53 -0800 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.5 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com, grbhat AT unigoa DOT ernet DOT in Subject: Re: Cannot build linux-x-dos cross-compiler References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com 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