comp.lang.ada
 help / color / mirror / Atom feed
* interfacing with c object link gnatmake link problem
@ 2019-11-10 21:04 Alain De Vos
  2019-11-10 21:15 ` Simon Wright
  0 siblings, 1 reply; 5+ messages in thread
From: Alain De Vos @ 2019-11-10 21:04 UTC (permalink / raw)


I try to interface to a c library.
The docs,
https://learn.adacore.com/courses/intro-to-ada/chapters/interfacing_with_c.html

How to inform gnatmake that it should link to mylibrary.o ?

I solve it currently by calling gnatlink explicitly after running gnatmake ,
but maybe there is a nicer solution.
% gnatlink mytest.ali ./maaltwee.o     


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-11 15:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-10 21:04 interfacing with c object link gnatmake link problem Alain De Vos
2019-11-10 21:15 ` Simon Wright
2019-11-10 22:39   ` Niklas Holsti
2019-11-11 14:17     ` Shark8
2019-11-11 15:32     ` Simon Wright

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