comp.lang.ada
 help / color / mirror / Atom feed
* Calling Ada Library from C++
@ 2009-02-23 16:14 markp
  2009-02-23 20:41 ` Manuel Gomez
  0 siblings, 1 reply; 2+ messages in thread
From: markp @ 2009-02-23 16:14 UTC (permalink / raw)


Hello,

I am trying to make a static Ada library that is callable from Visual C
++. I have created a my_library.a file by using a GNAT project file
similar to the following:

project My_Lib is
   for Source_Dirs use ("src1", "src2");
   for Object_Dir use "obj";
   for Library_Name use "my_library";
   for Library_Dir use "lib";
   for Library_Kind use "static";
end My_lib;

I am not familiar with adding libraries to Visual C++. It appears the
convention is a ".lib" file vice a ".a". Am I on the right track with
this? Can I simply rename my ".a" file, or use it as is? How do I link
it into the C++ application? Any help provided on this would be very
much appreciated.

Thank you.



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

end of thread, other threads:[~2009-02-23 20:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-23 16:14 Calling Ada Library from C++ markp
2009-02-23 20:41 ` Manuel Gomez

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