This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Help building GCC2.95.3 For LynxOS 2.3, dwarf2 error


Hi Folks

I want to compile gcc 2.95.3 on LynxOS 2.3.  I ran the configure script
as

$CFLAG="-mposix" LIBS="-lnetinet" ../gcc-2.95.3/configure --with-gnu-as
--with-gnu-ld

And then the make as

$CFLAGS="-mposix" LIBS="-lnetinet"  make bootstrap

The make goes for ages and ages and compiles many files only to fail
with the error

do \
  echo ${name}; \
  ./xgcc -B/usr/local/i386-unknown-lynxos2.3.0/bin/ -B./
-I/usr/local/i386-unkno
wn-lynxos2.3.0/include -O2   -DIN_GCC     -g -I./include   -g1 
-DIN_LIBGCC2 -D_
_GCC_FLOAT_NOT_NEEDED   -I. -I../../gcc-2.95.3/gcc
-I../../gcc-2.95.3/gcc/config
 -I../../gcc-2.95.3/gcc/../include -c -DL${name} \
       ../../gcc-2.95.3/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ` if [ -f /home3/antony/objdir/gcc/../binutils/ar ] ; then echo
/home3/antony/
objdir/gcc/../binutils/ar ; else if [ "i386-unknown-lynxos" =
"i386-unknown-lynx
os" ] ; then echo ar; else t='s,x,x,'; echo ar | sed -e $t ; fi; fi` rc
tmplibgc
c2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
/tmp/cc9Q5Z7t.s: Assembler messages:
/tmp/cc9Q5Z7t.s:1: Fatal error: dwarf2 is not supported for this object
file for



I have installed binutils 2.11 which I successfully built before I tried
to make gcc,  I
made the binutils with

$CFLAG="-mposix" LIBS="-lnetinet" ./configure
$make


Can someone please tell me how to get this build to work.

Cheers

Antony

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]