Building GCC on LynxOS

Roberto Cabral roberto.cabral@gmail.com
Tue Aug 16 16:53:00 GMT 2005


Hello,

I'm trying to build GCC 4 on LynxOS 2.3 and I'm having trouble with
it. I have upgraded binutils to 2.14 (2.16.1 does not work with the
native compiler) and on building GCC 4 it fails with some errors like
this:

 ./xgcc -B./ -B/usr/local/gcc-4.0.1/i386-unknown-lynxos2.3.0/bin/
-isystem /usr/l
ocal/gcc-4.0.1/i386-unknown-lynxos2.3.0/include -isystem /usr/local/gcc-4.0.1/i3
86-unknown-lynxos2.3.0/sys-include -L/home1/h2/data/result/trace/src/gcc/build/g
cc/../ld -O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -Wold-style-definition  -isystem ./include  -I. -I./ -I../../gcc-4.0.
1/gcc -I../../gcc-4.0.1/gcc/./ -I../../gcc-4.0.1/gcc/../include -I../../gcc-4.0.
1/gcc/../libcpp/include   -g0 -finhibit-size-directive -fno-inline-functions -fn
o-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-po
inter \
   -c ../../gcc-4.0.1/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
/usr/tmp//ccBD9G5C.s: Assembler messages:
/usr/tmp//ccBD9G5C.s:2: Warning: rest of line ignored; first ignored character i
s `,'
/usr/tmp//ccBD9G5C.s:4: Warning: .type pseudo-op used outside of .def/.endef ign
ored.
/usr/tmp//ccBD9G5C.s:4: Warning: rest of line ignored; first ignored character i
s `_'
/usr/tmp//ccBD9G5C.s:7: Warning: rest of line ignored; first ignored character i
s `,'
/usr/tmp//ccBD9G5C.s:9: Warning: .type pseudo-op used outside of .def/.endef ign
ored.
/usr/tmp//ccBD9G5C.s:9: Warning: rest of line ignored; first ignored character i
s `_'
/usr/tmp//ccBD9G5C.s:12: Warning: rest of line ignored; first ignored character
is `,'
/usr/tmp//ccBD9G5C.s:14: Warning: .type pseudo-op used outside of .def/.endef ig
nored.
/usr/tmp//ccBD9G5C.s:14: Warning: rest of line ignored; first ignored character
is `_'
/usr/tmp//ccBD9G5C.s:16: Warning: rest of line ignored; first ignored character
is `,'
/usr/tmp//ccBD9G5C.s:18: Warning: .type pseudo-op used outside of .def/.endef ig
nored.
/usr/tmp//ccBD9G5C.s:18: Warning: rest of line ignored; first ignored character
is `_'
/usr/tmp//ccBD9G5C.s:23: Warning: .type pseudo-op used outside of .def/.endef ig
nored.
/usr/tmp//ccBD9G5C.s:23: Warning: rest of line ignored; first ignored character
is `_'
/usr/tmp//ccBD9G5C.s:26: Error: unknown pseudo-op: `.local'
/usr/tmp//ccBD9G5C.s:27: Warning: rest of line ignored; first ignored character
is `,'
/usr/tmp//ccBD9G5C.s:29: Warning: .type pseudo-op used outside of .def/.endef ig
nored.
/usr/tmp//ccBD9G5C.s:29: Warning: rest of line ignored; first ignored character
is `p'
/usr/tmp//ccBD9G5C.s:34: Warning: .type pseudo-op used outside of .def/.endef ig
nored.
/usr/tmp//ccBD9G5C.s:34: Warning: rest of line ignored; first ignored character
is `_'
/usr/tmp//ccBD9G5C.s:69: Error: unknown pseudo-op: `.local'
/usr/tmp//ccBD9G5C.s:70: Warning: rest of line ignored; first ignored character
is `,'
/usr/tmp//ccBD9G5C.s:72: Warning: .type pseudo-op used outside of .def/.endef ig
nored.
/usr/tmp//ccBD9G5C.s:72: Warning: rest of line ignored; first ignored character
is `f'

The target of this machine is x86-coff and I'm using GCC 2.95.3.
Anyone can suggest something to build GCC 4 on this system?

Another question: is the java front-end supported for this platform?
Can it work?

I'll apprecite any answers.

Thanks, 

-- 
-----------------------------------------------
Roberto Cabral



More information about the Gcc-help mailing list