Date: Wed, 5 Jan 2000 15:00:47 +0200 (WET) From: Andris Pavenis To: Mumit Khan cc: djgpp AT delorie DOT com Subject: Re: protoize for djgpp In-Reply-To: <84tu2h$b44$1@news.doit.wisc.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 4 Jan 2000, Mumit Khan wrote: > A Mingw user just asked me about protoize for Mingw, and turns out that > it just doesn't work (mostly handling pathnames, and some text vs binary > issues). He also mentioned that he'd originally tried djgpp and it > doesn't work there either, which makes sense now that I've taken a > closer look. > > I have fixes against 2.95.2 that should make it work under DJGPP, but > it may require a few tweaks (such as __DJGPP__ in addition to whatever > macros I'm using currently). Email if interested. > > Of course, if it already works for djgpp, please ignore this. > Only one question. There is not so hard to fix small incompatibilities (like $DJDIR in prefix, replacement of .c.X with something more suitable for DOS, etc). However more serious is that when macro DIR_SEPARATOR_2 were introduced to handle 2 directory separators on DOS or Windows targets, no corresponding changes were done in gcc/protoize.c. I'm afraid this would require rather much work and I didn't continue. Andris