Message-ID: From: "Andris Pavenis" To: Frank Donahoe Date: Thu, 21 Jan 1999 19:18:06 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Will gcc 2.8.1 compile itself under DJGPP 2.02? CC: djgpp AT delorie DOT com References: In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.01d) Reply-To: djgpp AT delorie DOT com On 21 Jan 99, at 12:01, Frank Donahoe wrote: > "Andris Pavenis" Replied Wed, 20 Jan 1999 > 19:10:24 GMT > > "I know this. You should look which include files are in > lib/gcc-lib/djgpp/2.81/include from binary archives of gcc-2.8.1 > (gcc281b.zip, gpp281b.zip, objc281b.zip, g770523b.zip and remove > other files manually from this directory). " > > One may copy this file, kill-lst.rsp: > ; - - - cut > ShouldNotExist.exe > fcntl.h > fixed > limits.h > locale.h > malloc.h > memory.h > objc/objc.h > objc/sarray.h > -r sys > signal.h > stdarg.h > stddef.h > stdio.h > stdlib.h > string.h > strings.h > syslimits.h > time.h > unistd.h > va-alpha.h > va-arc.h > va-clipper.h > va-h8300.h > va-i860.h > va-i960.h > va-m32r.h > va-m88k.h > va-mips.h > va-mn10200.h > va-mn10300.h > va-pa.h > va-ppc.h > va-pyr.h > va-sh.h > va-sparc.h > va-spur.h > va-v850.h > varargs.h > ; - - - - end cut > and place it in the directory > > %DJDIR%/lib/gcc-lib/djgpp/2.81/include > > Then, after installing the newly built compiler package, > issue the command (from .../include) "rm -f @kill-lst.rsp" > > To answer my original question, "yes, it is possible, but > no one is willing to make the process elegant." Well I have to look at this problem slightly more as with latest egcs snapshot I'm getting errors instead of warnings there. The problem is with stddef.h which come in directory gcc/ginclude with gcc. Currently this file is incompatible with DJGPP however with gcc-2.8.1 and egcs-1.1.1 we're getting only warnings but nothing harmfull. One of the possibility would be to modify fixinc.djgpp to make DJGPP header files more compatible. Andris