xlc@AIX problems building egcs-19980517. configure questions.
Yotam Medini
yotam@avanticorp.com
Tue May 19 12:55:00 GMT 1998
Building egcs-19980517 on AIX using the native compiler
Configuring for a rs6000-ibm-aix4.1.4.0 host.
I get:
xlc -c -DIN_GCC -g -DHAVE_CONFIG_H -DHAIFA -I. -I/home/seg/yotam/build/egcs/egcs-19980517/gcc -I/home/seg/yotam/build/egcs/egcs-19980517/gcc/config /home/seg/yotam/build/egcs/egcs-19980517/gcc/gengenrtl.c
"/home/seg/yotam/build/egcs/egcs-19980517/gcc/gengenrtl.c", line 60.1: 1506-343 (S) Redeclaration of type_from_format differs from previous declaration on line 47 of "/home/seg/yotam/build/egcs/egcs-19980517/gcc/gengenrtl.c".
"/home/seg/yotam/build/egcs/egcs-19980517/gcc/gengenrtl.c", line 60.1: 1506-379 (I) Prototype for function type_from_format must contain only promoted types if prototype and nonprototype declarations are mixed.
"/home/seg/yotam/build/egcs/egcs-19980517/gcc/gengenrtl.c", line 60.1: 1506-380 (I) Parameter 1 has type "char" which promotes to "int".
"/home/seg/yotam/build/egcs/egcs-19980517/gcc/gengenrtl.c", line 92.1: 1506-343 (S) Redeclaration of accessor_from_format differs from previous declaration on line 48 of "/home/seg/yotam/build/egcs/egcs-19980517/gcc/gengenrtl.c".
"/home/seg/yotam/build/egcs/egcs-19980517/gcc/gengenrtl.c", line 92.1: 1506-379 (I) Prototype for function accessor_from_format must contain only promoted types if prototype and nonprototype declarations are mixed.
"/home/seg/yotam/build/egcs/egcs-19980517/gcc/gengenrtl.c", line 92.1: 1506-380 (I) Parameter 1 has type "char" which promotes to "int".
make[3]: *** [gengenrtl.o] Error 1
Questions:
* How do I specify in top level configure CFLAGS that will be written
into Makefile-s in subdirectories
* gcc/Makefile has
# XCFLAGS is used for most compilations but not when using the GCC just built.
# TCFLAGS is used for compilations with the GCC just built.
Are these configure-able thru the top configure?
-- yotam
More information about the Gcc-bugs
mailing list