From: "Shelby Cain" References: Subject: Re: Compiling binutils-2.8.1 under DJGPP v2 Date: Mon, 13 Jul 1998 08:15:02 -0500 Lines: 65 Message-ID: Newsgroups: comp.os.msdos.djgpp NNTP-Posting-Host: [207.43.206.191] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Andris Pavenis wrote in message ... > > >On Sat, 11 Jul 1998, Shelby Cain wrote: > >> I am having a problem trying to recompile the binutils under DJGPP v2... >> AFAIK, I have all the necessary packages installed (per the readme.djp >> file) -- although I am uncertain as to which version of patch I should be >> using. >> >> Here is the output: >> ================================= >> h:\djgpp\gnu\binutl-2.81>configure >> Applying DJGPP specific patches ... >> can't find file to patch at input line 3 >> Perhaps you should have used the -p or --strip option? >> The text leading up to this was: >> -------------------------- >> |--- binutils/nlmconv.c~ Wed Apr 30 18:59:12 1997 >> |+++ binutils/nlmconv.c Sat Jun 28 21:39:44 1997 >> -------------------------- >> File to patch: >> ================================= >> >> Strangely enough, if I manually type binutils/nlmconv.c it finds the file >> with no problem.... >> what gives? Even if I manually type in every filename it requests I get the >> following errors: >> > >I also had to do this manually when rebuild binutils after getting patch >to GAS from Andrew Crabtree (to avoid output of unneeded info about >local labels in object files). Rather annoying, but let's hope it will be >no more so in next version. At least I suceeded to got working AS.EXE >that fixed problem with temporary labels. > >Andris > I apologize for not making my point more clear -- even if I manually typed the filenames in several files would fail to patch -- re-read my original post. This would, of course, cause a cascade of problems resulting in the configure script finally bombing with the error: =========== Configuring libiberty... *** ../configure: unable to link "alloca-conf.h" to "./alloca-norm.h". Configure in //h/djgpp/gnu/binutl-2.81/libiberty failed, exiting. =========== I have been unable to resolve this issue -- and I am uncertain as to whether or not I am up to the challenge (as a newbie to DJGPP) of manually patching the GNU sources to handle msdos correctly. You apparently have gotten them to compile -- can you tell me how you did it exactly? what packages you have installed? Thanks, Shelby Cain