[comp.unix.xenix] ld problem/question - NEED HELP

st%trillian.irb@unido.uucp (Stefan Timphus) (05/24/89)

I have problems with linking a program written in Simula.
Depending on how much segments I specify I get different error messages.
Is there something I can do to get it running ?


The link command looks as follows :
+++++++++++++++++++++++++++++++++++++++++++++++
ld -C -Ml -F 864 -o comp -m -S "Number of segments" \
   /lib/Lseg.o /lib/Lcrt0.o \
   comp.o \
  cscg.o \
  cacg.o \
  ccode.o \
  cprec.o \
  clink.o \
  cpass2.o \
  cpass1.o \
  cscan.o \
  cpred.o \
  cbase.o \
  fan.o \
  mobase.o \
   /lib/sim/107/rts.a \
   /lib/Llibx.a /lib/Llibc.a
++++++++++++++++++++++++++++++++++++++++++++++++



And I get these error messages
++++++++++++++++++++++++++++++++++++++++++++++++
Number of Segments : 128
cpass1.o(cpass1) : fatal error: too many segments
 pos: 2af Record type: 98

Number of Segments : 184
/lib/Llibc.a(atoi.o.c) : fatal error: too many segments
 pos: 7c3d Record type: 98

Number of Segments : 188
LINK : fatal error: too many segments

Number of Segments : 208
cpass1.o(cpass1) : fatal error: relocation table overflow
 pos: 2a6d1 Record type: 9c
+++++++++++++++++++++++++++++++++++++++++++++++++

The system I am working on is as Siemens PCD-3TS (80386/80387/25MHz).
It is running under SCO Xenix System V Version 2.3.2.
The Simula Compiler is PC-Simula from Simula a.s.

                          Thanks in advance for any hints (Please email)
                                               Stefan