comp.lang.ada
 help / color / mirror / Atom feed
From: 100608 <roush@erols.com>
Subject: GNAT and linking with C
Date: 1997/05/12
Date: 1997-05-12T00:00:00+00:00	[thread overview]
Message-ID: <3377877A.6032@erols.com> (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




                 reply	other threads:[~1997-05-12  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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