comp.lang.ada
 help / color / mirror / Atom feed
* GNAT and linking with C
@ 1997-05-12  0:00 100608
  0 siblings, 0 replies; only message in thread
From: 100608 @ 1997-05-12  0:00 UTC (permalink / raw)



I am trying to link a 2 C objects to an Ada main.  I took the gnat 
example called use_of_import.adb and the c function imported_function.c 
and added a call in imported_function.c to another c function in another 
object file.  But, I keep getting this error when I link :

ld.exe: *(.xdata$) missing from linker script

I have a linker script which gnatbl created and it has a SECTIONS list 
with a .text in it.  I don't know much about the linker scripts because 
I am fairly new to gnat.  Any help would be GREATLY appreciated!!

- Betty




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

only message in thread, other threads:[~1997-05-12  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-05-12  0:00 GNAT and linking with C 100608

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