This is the mail archive of the gcc-bugs@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]

egcs-1.0.2-prerelease installation on rmsinix



Building egcs-1.0.2 on mips-sni-sysv4 (known as "rm sinix"), version
SINIX-N 5.43.


1. It fails like this:

gmake[2]: Leaving directory `/nfs/nosave16/tmp/haible/gnu/egcs-1.0.2-prerelease/build-rmsinix/texinfo/emacs'
touch stmp-sub-all
./makeinfo/makeinfo.o -I../../texinfo texinfo.texi
gmake[1]: ./makeinfo/makeinfo.o: Command not found
gmake[1]: *** [texinfo] Error 127
gmake[1]: Leaving directory `/nfs/nosave16/tmp/haible/gnu/egcs-1.0.2-prerelease/build-rmsinix/texinfo'
gmake: *** [all-texinfo] Error 2

Reason: In the Makefile, it has

EXEEXT = .o

which is obviously not the right thing :-) Here is a fix to
texinfo/configure, but it's the AM_EXEEXT macro which really ought to
be fixed.

*** texinfo/configure.bak       Tue Mar  3 08:25:35 1998
--- texinfo/configure   Wed Mar  4 21:18:27 1998
***************
*** 974,980 ****
  }
  EOF
  ${CC-cc} -o am_c_test $CFLAGS $CPPFLAGS $LDFLAGS am_c_test.c $LIBS 1>&5
! am_cv_exeext=`ls am_c_test.* | grep -v am_c_test.c | sed -e s/am_c_test//`
  rm -f am_c_test*
  fi
  
--- 974,980 ----
  }
  EOF
  ${CC-cc} -o am_c_test $CFLAGS $CPPFLAGS $LDFLAGS am_c_test.c $LIBS 1>&5
! am_cv_exeext=`ls am_c_test.* | grep -v am_c_test.c | grep -v am_c_test.o | sed -e s/am_c_test//`
  rm -f am_c_test*
  fi
  

2. When I try to do "make" from the gcc/ directory, linking fails, like this:

cc -Olimit 3000   -DIN_GCC  -DNO_SYS_SIGLIST  -g   -o ../cc1plus \
      call.o decl.o errfn.o expr.o pt.o sig.o typeck2.o class.o decl2.o error.o lex.o parse.o ptree.o rtti.o spew.o typeck.o cvt.o except.o friend.o init.o method.o search.o tree.o xref.o repo.o `cat ../stamp-objlist` ../c-common.o ../c-pragma.o `if [ xobstack.o != x ]; then echo ../obstack.o; else true; fi` `case "cc -Olimit 3000 " in "cc -Olimit 3000 ") if [ xalloca.o != x ]; then echo ../alloca.o; else true; fi ;; esac` `if [ x != x ]; then echo ../; else true; fi` 
cc: [warning]:   CDR9977 invalid option '-Olimit' ignored
cc: [warning]:   CDR9972 unknown file '3000' passed to linker
ld: 3000: fatal error: cannot open file for reading
gmake[1]: *** [../cc1plus] Error 1

The "-Olimit 3000" should therefore be removed from gcc/config/mips/x-sni-svr4.

(A top-level "make bootstrap" hides this problem, because it compiles
everything with CC="cc", thus overriding the Makefile settings.)


3. There are more problems later (assembler error messages when compiling
enquire.c), which I haven't resolved.


Bruno


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