gcc-3.0.4 build problem

Gokhan Kisacikoglu kisa@centropolisfx.com
Tue May 14 10:45:00 GMT 2002


Hi,

I am trying to build the new version of gcc(3.0.4) using an older
version
of gcc(2.96). First of all, is this meaningful? The makefile says that
the system is i686-pc-linux-gnu.

Now here are the commands that I am running and the compilation problem
(and messages);

%> cd gcc-3.0.4
%> mkdir obj2
%> cd obj2
%> ../configure --prefix=/home/kisa/apps/linux/gcc-3.0.4
%> make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' bootstrap-lean         ## all in one line

... after tons of other successful compilation messages ...

./xgcc -B./ -B/home/kisa/apps/linux/gcc-3.0.4/i686-pc-linux-gnu/bin/
-isystem /home/kisa/apps/linux/gcc-3.0.4/i686-pc-linux-gnu/include
-isystem /home/kisa/apps/linux/gcc-3.0.4/i686-pc-linux-gnu/sys-include 
-DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include  -I. -I. -I../../gcc
-I../../gcc/. -I../../gcc/config -I../../gcc/../include  -g0 \
  -finhibit-size-directive -fno-inline-functions \
  -fno-exceptions -fno-omit-frame-pointer  \
  -c ../../gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o
../../gcc/crtstuff.c:346: warning: no previous prototype for
`__do_global_dtors'
../../gcc/crtstuff.c:363: warning: no previous prototype for
`__frame_dummy'
/tmp/ccyRRsUc.s: Assembler messages:
/tmp/ccyRRsUc.s:65: Warning: Bad .section directive - character
following name is not '#'
/tmp/ccyRRsUc.s:65: Error: Rest of line ignored. First ignored character
is `1'.
/tmp/ccyRRsUc.s:72: Warning: Bad .section directive - character
following name is not '#'
/tmp/ccyRRsUc.s:72: Error: Rest of line ignored. First ignored character
is `1'.
/tmp/ccyRRsUc.s:79: Warning: Bad .section directive - character
following name is not '#'
/tmp/ccyRRsUc.s:79: Error: Rest of line ignored. First ignored character
is `1'.
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/home/kisa/source/gcc-3.0.4/obj2/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/kisa/source/gcc-3.0.4/obj2/gcc'
make: *** [bootstrap-lean] Error 2


Please help me fix the problem, I can't figure out...

Thanks,
Gokhan



More information about the Gcc-help mailing list