comp.lang.ada
 help / color / mirror / Atom feed
* passing fortran objects to ada link ???
@ 1991-01-10 17:43 tamone
  0 siblings, 0 replies; only message in thread
From: tamone @ 1991-01-10 17:43 UTC (permalink / raw)


I am desperatly trying to link a little f77 fortran object file with an
Ada program. The program is composed of 10 or so different packages.
I am working under UNIX on a sun 3/80 workstation. I tried Telesoft 1.4A and
Verdix 5.5 compiler but , in both case could not link properly. 

 What happened was that when the ada linker passed the objects to the UNIX
linker, an error occured. In the Telesoft case, the error was:
		Undefined: f68881 used   (approximately reproduced text)
even though the hardware floating point was set for ada (my machine has got a
co-processor) and the f77 flag for floating point was also used when
compiling the little fortran code.

 I have tried to turn around the libraries provided with the link command in
just about every sequence possible, without succes.

With the Verdix compiler I have this linker error:
		ld: symbol __DYNAMIC lookup failed

my telesoft link command look like this (after many tries...):
       ald -v  -p ' \
           /un2sunb/ub2/eao/ada/libideal.a -lX11\
           opmet.o\
           libfgks.a libdgks.a libcgks.a \
           libF77.a libI77.a libU77.a\
           -lsuntool -lsunwindow -lpixrect \
           -L/usr/lib/f68881 \
           -lm \
           -L/usr/lib \
           -lc \
           ' -o Plot Plot
where opmet.o is my little fortran object.

 I would greatly appreciate any suggestions in showing me what I did WRONG.
 Thank you.

Francois

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1991-01-10 17:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1991-01-10 17:43 passing fortran objects to ada link ??? tamone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox