From: susan@eagle.safb.af.mil
Subject: installing gcc-1.40
Organization: GNUs Not Usenet
Distribution: gnu
Date: Tue, 28 Jul 1992 14:40:00 GMT

I hope I'm following the correct conventions here as I am new to this
Internet world.  If not, please forgive and reply.

I'm attempting to "make" gcc-1.40.  Am running SCO Unix SysV R3.2.2.
I removed the -O CCLIBFLAGS option and set CC and OLDCC to rcc which
is an ATT compliant complier which SCO does not support and therefore
for which I have no documentation.  I just mention this because the
INSTALL file calls for rcc specifically and the behavior is different
with the two compilers rcc vs cc.

I then run config.gcc i386-sco which produces the following output:

Linked `config.h' to `./config/xm-i386v.h'.
Linked `tm.h' to `./config/tm-i386sco.h'.
Linked `md' to `./config/i386.md'.
Linked `aux-output.c' to `./config/out-i386.c'.
Links are now set up for use with a i386sco.

I then run make which produces the following output:

	rm -f stamp-gnulib2
	rm -f tmpgnulib gnulib; \
	for name in _eprintf _builtin_new _builtin_New _builtin_del _bb  _umulsi3 _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3  _lshrsi3 _lshlsi3 _ashrsi3 _ashlsi3  _divdf3 _muldf3 _negdf2 _adddf3 _subdf3 _cmpdf2  _fixunsdfsi _fixdfsi _floatsidf _truncdfsf2 _exte
dsfdf2  _addsf3
_negsf2
_subsf3
_cmpsf2
_mulsf3
_divsf3;
\
	do \
	  echo ${name}; \
	  rm -f ${name}.c; \
	  cp ./gnulib.c ${name}.c; \
	  rcc -O -I. -I. -I./config -c -DL${name} ${name}.c; \
	  ar qc tmpgnulib ${name}.o; \
	  rm -f ${name}.[co]; \
	done
_eprintf
_builtin_new
_builtin_New
_builtin_del
_bb
_umulsi3
_mulsi3
_udivsi3
_divsi3
_umodsi3
_modsi3
_lshrsi3
_lshlsi3
_ashrsi3
_ashlsi3
_divdf3
_muldf3
_negdf2
_adddf3
_subdf3
_cmpdf2
_fixunsdfsi
_fixdfsi
_floatsidf
_truncdfsf2
_extendsfdf2
_addsf3
_negsf2
_subsf3
_cmpsf2
_mulsf3
_divsf3
	if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ;then : tmpgnulib; else true; fi
	mv tmpgnulib gnulib
	rcc -g  -I. -I. -I./config \
	  -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" \
	  -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" -c \
	  `echo ./gcc.c | sed 's,^\./,,'`
	rcc -c -g   -I. -I. -I./config version.c
	rcc -c -g   -I. -I. -I./config obstack.c
	rcc -g   -o gccnew gcc.o version.o obstack.o   -lPW
	mv gccnew gcc
	rcc -g   -I. -I. -I./config -c ./c-parse.tab.c
	rcc -c -g   -I. -I. -I./config c-decl.c
c-decl.c: 44: NULL redefined
	rcc -c -g   -I. -I. -I./config c-typeck.c
"c-typeck.c", line 762: warning: illegal pointer combination, op =
"c-typeck.c", line 1041: warning: illegal pointer combination, op =
"c-typeck.c", line 1178: warning: illegal pointer combination, op =
"c-typeck.c", line 2100: warning: illegal pointer combination, op =
"c-typeck.c", line 2652: warning: illegal pointer combination, op =
"c-typeck.c", line 3525: warning: illegal pointer combination, op =
	rcc -c -g   -I. -I. -I./config c-convert.c
	rcc -c -g   -I. -I. -I./config toplev.c
"/usr/include/setjmp.h", line 68: warning: undeclared initializer name _JBLEN
"/usr/include/setjmp.h", line 68: constant expected
"toplev.c", line 490: warning: illegal pointer combination, op =
"toplev.c", line 531: warning: illegal pointer combination, op ==
*** Error code 1

Stop.

Can you tell what I'm doing wrong? 

Thanks,
Susan M. Wilson

susan@eagle.safb.af.mil

Newsgroups: gnu.gcc.bug