This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc-3.0.4 build errors
- From: Miroslaw Dobrzanski-Neumann <mne at mosaic-ag dot com>
- To: bug-gcc at gnu dot org
- Date: Tue, 19 Mar 2002 15:17:03 +0100
- Subject: gcc-3.0.4 build errors
Hi,
the build of gcc 3.0.4 aborts due to syntax errors on AIX 4.3 using xlc compiler
(strict ansi). I gave up at cp/pt.c.
1. Syntax errors
$ xlc_r -c -DIN_GCC -g -O2 -DHAVE_CONFIG_H -I<my prefix path>/include -I. -Icp -I. -I./cp -I./config -I./../include cp/pt.c -o cp/pt.o
"cp/pt.c", line 8370.9: 1506-226 (S) The ":" operator is not allowed between "void" and "int".
and here some other fatal errors
- gcc/cp/decl.c: macro "current_binding_level" is not an l-value
- gcc/dependence.c: macro "abs" is already defined in an system header and can
not be redefined
- there are other syntax errors as ", }" sequences in enums.
2. when libintl is not installed in standard location, linking of cc1 and other
executables fails. -l intl can not be found
I have set LDFLAGS environmant to the correct but not standard location
where it can be found -L<my prefix path>/lib
at this point in the gcc/Makefile the LDFLAGS is empty
Have you ever tried to compile the gcc 3.0.4 with other compiler than gcc?
best regards
--
Miroslaw Dobrzanski-Neumann
MOSAIC SOFTWARE AG
Base Development and Research
Tel +49-2225-882-291
Fax +49-2225-882-201
Office: mne@mosaic-ag.com
Home: mirek-dn@freenet.de