[comp.windows.interviews] IV2.5 with g++ 1.35 on a Sun sparcstation

nyhuis@nluug.nl (Ruud Nyhuis) (06/06/91)

Hello,

Recently I received the interiews2.6 s/w package. I started to install the
stuff on a SUN4 system but unfortunately did not succeed in the installation.
I wanted to install the s/w at once by using 'make' from the root directory. The idea is to use the g++ compiler that was shipped on the same tape.

What I did is the following:

1. Specify the architecture of the machine and the operating system by:

   config.gcc sun4-os4
   
2. Specify the compiler in IVlocal.def by:

   #define C_plusplus_compile g_plusplus
   #define Use_g_plusplus YES
   
3. Set the BOOTSTRAPCFLAGS in the Makefile in iv/src/config

   BOOTSTRAPCFLAGS = NO
   
4. make bootstrap (from root directory of the interviews system)

5. Set environment variables:

   setenv CPU SUN4
   setenv PATH ~/iv/installed/bin/SUN4:$PATH
   
6. Start the installation script.

   make (from the root directory)
   
   
Problems arise at the end of the installation script.
I get the following messages from the system:

rm -f genoutput.c
../../gcc/gcc -B../../gcc/ -O   -o genoutput genoutput.o rtl.o obstack.o
./genoutput md > tmp-insn-output.c
./move-if-change tmp-insn-output.c insn-output.c
touch stamp-output.c
../../gcc/gcc -B../../gcc/  -O -I. -I.. -I../Generated -I../../gcc   -target sun4 -c  insn-output.c
../../gcc/gcc: sun4: linker input file unused since linking not done
../../gcc/gcc: unrecognized option `-target'
linking a.out
../../gcc/gcc -o a.out lastfile.o  cplus-decl.o  cplus-decl2.o  cplus-except.o  cplus-tab.o  cplus-typeck.o  cplus-type2.o  cplus-tree.o  cplus-lex.o  cplus-class.o  cplus-init.o  cplus-method.o  cplus-cvt.o  cplus-search.o  cplus-ptree.o  dbxout.o  case.o  expr.o  integrate.o  print-tree.o  stmt.o  stor-layout.o  symout.o  toplev.o  tree.o  varasm.o  version.o caller-save.o  combine.o  cse.o  emit-rtl.o  expmed.o  explow.o  final.o  flow.o  fold-const.o  global-alloc.o  jump.o  local-alloc.o  loop.o  obs







tack.o  optabs.o  recog.o  regclass.o  reload.o  reload1.o  rtl.o  rtlanal.o  sdbout.o  stupid.o insn-emit.o  insn-peep.o  insn-recog.o  insn-extract.o  insn-output.o  -O   
ld: gnulib: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `a.out'
Current working directory /home/hcsrnd/projects2/telescience/%IV/g++/g++/SUN4
*** Error code 1
make: Fatal error: Command failed for target `g++.all'
Current working directory /home/hcsrnd/projects2/telescience/%IV/g++
*** Error code 1
make: Fatal error: Command failed for target `g++.all' 

Is there anybody who can help me or has experience in installing IV on a SUN workstation.

Ruud Nijhuis
ICT Aerospace
Apeldoorn
The Netherlands