Date: Fri, 12 Sep 1997 20:41:41 -0700 (PDT) Message-Id: <199709130341.UAA21007@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Eli Zaretskii From: Nate Eldredge Subject: Re: Rebuilding gcc -- cc1plus and gxx not made Cc: djgpp AT delorie DOT com Precedence: bulk All right, I found my problem. I had symlinked `bash.exe' as `sh.exe'. This caused the `SHELL=/bin/sh' line in the Makefile to be taken literally and required some changes to the makefile. Without it, it builds out of the box, almost. Disregard patches posted previously. See below. Perhaps the `SHELL=' line should be changed to `SHELL=command.com' to avoid this problem? At 10:37 9/11/1997 +0300, Eli Zaretskii wrote: > >On Wed, 10 Sep 1997, Nate Eldredge wrote: > >> Well... without using bash it doesn't work, the makefile bombs out on the >> line `genattr config/i386/i386.md > t-attr.h'. > >Why? This line has nothing special that needs a Unixy shell. The >original Makefile created by configur.bat works for me, including that >line, without Bash. > >In fact, the above line (and a few others like it) will NOT work with >Bash, because Bash by default doesn't search the current directory for >executable programs. Did you change the Bash's PATH to include the >current directory? Otherwise, I don't understand how does that >Makefile work for you. I added `.' to my DOS path, which bash inherited. This caused some added confusion. :) > >There are also a few other lines that won't work with Bash: those >which use backslashes. For example, this line: > > bi-arity < $(srcdir)\bytecode.def >t-bc-arity.h > >(there are quite a few like this one). > >Maybe you have a modified Makefile? Are we talking about the original >one created when you run configur.bat from v2gnu/gcc2721s.zip on >SimTel.NET? > >Or maybe you have some non-DJGPP sh.exe somewhere on your PATH? > >> Also, I think one of the >> makefiles contains a line with backquotes, implying that it needs >> bash. > >Only if you say "make install". The install: target wasn't ported to >MS-DOS. Otherwise, there are no backquotes. See line 195 of cp/makefile after running configure. It's not even done correctly. This seems to be the only instance, however, and since it's only an `echo', can be dispensed with. Sorry to misinform anyone. PS. I think Peter Farley already said much of this. My mail was delayed, the outgoing mail server at my ISP was down :( Nate Eldredge eldredge AT ap DOT net