Hi,
I am trying to make a version of gpc on an Irix6.5 system with MIPS Compiler 7.3.
I have built gcc (version 2.95.2) separately and it seemed OK. When trying to make pascal.install (version gpc-20001122) i run into a stop after some time. I had problems with mixing o32 and n32, as 6.5 prefers the latter, but that seems fixed. However, I have not been able to find where the error occurs.
Is there someone out there with more experience and knowledge regarding SGI systems?
The make stops with the following message (some lines above)
 there is some more before it......
"CC=cc -n32" "CROSS="  "X_CFLAGS="  "EXTRA_LIBS="  "MAYBE_TARGET_DEFAULT="  "MAYBE_USE_COLLECT2="  "SCHED_CFLAGS="  "includedir=`echo '/usr/local/include'|sed -e 's/\\$/\\\\&&/g'`"  "libsubdir=`echo '/usr/local/lib/gcc-lib/mips-sgi-irix6.5/2.95.2'|sed -e 's/\\$/\\\\&&/g'`"  "target_alias=mips-sgi-irix6.5"  "version=2.95.2"  "target_alias=mips-sgi-irix6.5"  "program_transform_name=s,x,x,"  "program_transform_cross_name=s,^,mips-sgi-irix6.5-,"  "exeext="  "GCC_FOR_TARGET=./xgcc -B/usr/local/mips-sgi-irix6.5/bin/ -B./ -I/usr/local/mips-sgi-irix6.5/include"  "GPC_FOR_TARGET=./xgpc -B./"  "GPCSOLIBSHORTNAME=libgpc.so"  "GPCSOLIBDIR=lib"  "WITH_SHARED=@with_shared@" ../gpc1
        echo " `cat ../stamp-objlist | sed -e 's:  : :g'  -e 's:../convert.o::g'  -e 's:../dbxout.o::g'  -e 's:../expr.o::g'  -e 's:../fold-const.o::g'  -e 's:../function.o::g'  -e 's:../optabs.o::g'  -e 's:../stor-layout.o::g'  -e 's:../toplev.o::g'  -e 's:../tree.o::g'` convert.o dbxout.o expr.o fold-const.o  function.o optabs.o stor-layout.o toplev.o tree.o" >stamp-gbe
        cc -n32 -c  -DIN_GCC -DGPC   -g       -Wall -I. -I.. -I. -I./.. -I./../config -I./../../include gpc-common.c
cc ERROR parsing -Wall:  bad syntax for option
cc ERROR parsing -Wall:  unknown flag
*** Error code 2 (bu21)
*** Error code 1 (bu21)
Your advice is appreciated, however I am not subscribed to the mailing list.
Thanks in advance
Hans Hauska
--
__________________________________________________________

Hans Hauska                                           phone:  +46-8-790 7341
Assoc. Prof. and                                      fax:      +46-8-790 7343
Director, Centre for geoinformatics     e-mail: hans@geomatics.kth.se
Dept of geodesy and photogrammetry    personal phone (GSM): +46-70-764 8269
KTH                                                                    
S-100 44 Stockholm
Sweden
        WWW address CGI: http://www.ce.kth.se/geofoto/CGI/
         HH's home page:     http://www.geomatics.kth.se/~hans
__________________________________________________________