From: markp <markwork66@yahoo.com>
Subject: Calling Ada Library from C++
Date: Mon, 23 Feb 2009 08:14:44 -0800 (PST)
Date: 2009-02-23T08:14:44-08:00 [thread overview]
Message-ID: <5dba2f32-36d5-4f98-9311-ab695565f5f5@f33g2000vbf.googlegroups.com> (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.
next reply other threads:[~2009-02-23 16:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-23 16:14 markp [this message]
2009-02-23 20:41 ` Calling Ada Library from C++ Manuel Gomez
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox