From: Alain De Vos <devosalain71@gmail.com>
Subject: interfacing with c object link gnatmake link problem
Date: Sun, 10 Nov 2019 13:04:07 -0800 (PST)
Date: 2019-11-10T13:04:07-08:00 [thread overview]
Message-ID: <7ff91b06-4667-4fa4-8abf-6d172b033557@googlegroups.com> (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
next reply other threads:[~2019-11-10 21:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-10 21:04 Alain De Vos [this message]
2019-11-10 21:15 ` interfacing with c object link gnatmake link problem Simon Wright
2019-11-10 22:39 ` Niklas Holsti
2019-11-11 14:17 ` Shark8
2019-11-11 15:32 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox