Message-Id: <199803251438.QAA42728@ieva06.lanet.lv> From: "Andris Pavenis" To: Eli Zaretskii Date: Wed, 25 Mar 1998 16:35:56 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Can't Get GCC 2.8.0 to build? CC: djgpp AT delorie DOT com References: In-reply-to: Precedence: bulk > Date: Wed, 25 Mar 1998 15:32:31 +0300 (IDT) > From: Eli Zaretskii > Subject: Re: Can't Get GCC 2.8.0 to build? > > On Tue, 24 Mar 1998, Bob Paddock wrote: > > > > gcc -o cc1 .... > > > > cc1: $(P) $(C_OBJS) $(OBJS) $(BC_OBJS) $(LIBDEPS) > > $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(C_OBJS) $(OBJS) $(BC_OBJS) $(LIBS) > > > > Don't think that is what you where really asking tho? > > > > makefile has "exeext =" (None), but gcc.c says: > > > > #if !defined(__DJGPP__) > > /* Do not convert the output filename on DJGPP, since it > > will break many makefiles, which assume, that gcc produces > > exactly the file, which was given as output file. And since > > GNU make for DJGPP (which is the only make used) can run > > also the programs without the .exe suffix this not a problem) > > */ > > > > Therefor I get what the makefiles says it will give me, > > executable with no extensions. > > AFAIK, you are looking in the wrong place. The $exeext trick is not for > DJGPP, it's for another MS-based environment (Cygwin32, I think). > I had problems with ./djmake.sh install-driver (last target for make install) without using exeext for 2.8.1 (I didn't try to build 2.8.0 at all). Therefore I added it in configure.in (definitions for i[345678]86-pc-msdossjgpp target) After that I run autoconf and autoheader of course. After that ./djmake.sh install works Ok for me, but this was for 2.8.1 There were no need for exeext for '.\djmake.sh all' only for make install. Andris Pavenis