This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Compiling gcc-2.95.2


Hello,
	I have been trying to compile gcc-2.95.2 on my Indy running
IRIX-6.5.7 using gcc-2.8.1 as the native compiler and have run into
problems.  I have downloaded versions of gcc from both MIT and the Univ.
of Maryland with one important problem noted below.
	The downloading and configuring appear to go without any problems. 
However the "make bootstrap-lean" command gives the following output:

leffler 1% cd gcc_295/obj 
leffler 2% make bootstrap-lean
        test x"no" != xyes || \
          gcc -c -DHAVE_CONFIG_H -O2 -I. -I/usr/people/amos/gcc_295/gcc-2.95.2/
libiberty/../include argv.c -o pic/argv.o
        gcc -c -DHAVE_CONFIG_H -O2 -I. -I/usr/people/amos/gcc_295/gcc-2.95.2/
libiberty/../include argv.c gcc:  argv.c: No such file or directory 
gcc: No input files 
*** Error code 1 (bu21) 
*** Error code 1 (bu21) 

The problem is that argv.c is not in the indicated location but rather in:
/usr/people/amos/gcc_295/libiberty/argv.c  .  The test x"no".. comes from
line 111ff of the Makefile in the directory:
	/usr/people/amos/gcc_295/obj/libiberty 
where obj is the objdir that I use.
I have tried to modify this Makefile to go to the correct place to find
argv.c but have not succeeded. The include files for each of the
subdirectories are in the
directories:  /usr/people/amos/gcc_295/obj/gcc/../include
which should have been reached by INCDIR on line 107 of the Makefile but
were not.
	I have tried various workarounds such as using gmake-3.79.  This
does start the compilation but it doesn't go right since it seems to end
up in a loop and the compiled file.o are always the same size.  I tried
disobeying your instructions abut using and objdir and it did get to
stage2 with the file.o sizes decreasing in stage1.  It bombed in stage2
with a statement about an array being too small so that didn't work
either.
	Now about comparing downloads.  I have found this time and
previously that sometimes the files are not identical.  One file will not
compile but the same file from another download will compile. There are
clearly errors in the file that doesn't compile but whether this is caused
in my downloading is uncertain.  
	Hopefully the fix in the argv.c and include problems is not
difficult for you but I am not expert enough in make files to do it.
Thanks for your help.
						Amos Leffler 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]