From: "Stuart Gibson" Newsgroups: comp.os.msdos.djgpp Subject: Re: Compiling GCC Date: Wed, 22 Sep 1999 18:06:38 +0100 Organization: GXSN Lines: 92 Message-ID: <7sb2dd$52i$1@gxsn.com> References: <37e73a0d DOT 31950650 AT newsserver DOT cc DOT monash DOT edu DOT au> NNTP-Posting-Host: 195.147.235.191 X-Trace: 938020077 1NNUCNF1GEBBFC393C gxsn.com X-Complaints-To: abuse AT gxsn DOT com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com None of this is going to work! The only way I could do it was using the shell scripts 'djconfig.sh' & 'djmake.sh' in the bash shell I managed to compile all the executables 'cpp', 'cc1' etc... but had to install them by hand into their working directories. Hope this helps. Stu. This is an extract from 'readme.DJGPP' in the source archive 'gcc295s.zip': >>>>>>>>>>>>>>>>>>>>>>>>>>> Compiling gcc ------------- Directory gnu/gcc-2.95 contains all sources of gcc-2.95 and additional packages (currently libg++-2.8.1.3 only). Sources are NOT configured. There are 2 main possibilities how to build gcc-2.95 from sources: 1) change to directory gnu/gcc-2.95/build.djg and run BAT file build.bat For this no DJGPP program should be running at that time in the same DOS session (eg. don't run it directly or indirectly from DJGPP port of bash). It's not possible to build so large package under Win9X in a single step as Win9X DPMI servers leaks many resources. Fortunatelly returning to command.com (including one running BAT file) reverts these leaks. This bat file was written to split all process in such parts Win95 DPMI server can take. Second reason was to simulate bootstraping gcc which was impossible in other way due to absence of fully functional symbolic links. This bat file redirects output of each step to file. Use some program that allows to view this file from other DOS session to see the progress of building. 2) using scripts djconfig.sh and djmake.sh which are located in the same directory. To configure sources run sh djconfig.sh [any-additional-paramter] After that run sh djmake.sh [any-additional-paramter] to build gcc-2.95. As I already mentioned building will crash some times due to Win95 DPMI server bugs. You may need even to remove some generated directory if this crash will happen in bad place. Don't use configure and make directly as these both scripts sets needed environment variables. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Davin McCall wrote in message news:37e73a0d DOT 31950650 AT newsserver DOT cc DOT monash DOT edu DOT au... > I recently downloaded the GCC source (more out of interest than > anything else) from Simtel. > > I unpacked the source, made sure I had the required packages, changed > into the build.djg subdirectory and ran build.bat (from command.com, > under Windows 95). > > The computer chugged away for a while and produced the following > messages: > > --- begin --- > Configuring egcs... > BASH_VERSION: 1.14.7(1) > Building stage 1 compiler... > Build failed > --- end ---- > > I noticed that a file called stage1.log had been created so I examined > it: > > --- begin --- > make.exe: *** No rule to make target `all-gcc'. Stop. > --- end --- > > Anyone know what's going on? > > Davin. > > > __________________________________________________________ > *** davmac - sharkin'!! davmac AT iname DOT com *** > my programming page: http://yoyo.cc.monash.edu.au/~davmac/