comp.lang.ada
 help / color / mirror / Atom feed
From: Manuel Gomez <mgrojo@gmail.com>
Subject: Re: Calling Ada Library from C++
Date: Mon, 23 Feb 2009 12:41:19 -0800 (PST)
Date: 2009-02-23T12:41:19-08:00	[thread overview]
Message-ID: <55e49c0d-6b40-4e7b-8925-98d3a016a91b@s20g2000yqh.googlegroups.com> (raw)
In-Reply-To: 5dba2f32-36d5-4f98-9311-ab695565f5f5@f33g2000vbf.googlegroups.com

I cannot help you myself, but take a loot at this wikibook article, it
might be useful:

http://en.wikibooks.org/wiki/Ada_Programming/Platform/Windows/Visual_C%2B%2B_-_GNAT_interface

On 23 feb, 17:14, markp <markwor...@yahoo.com> wrote:
> 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.




      reply	other threads:[~2009-02-23 20:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-23 16:14 Calling Ada Library from C++ markp
2009-02-23 20:41 ` Manuel Gomez [this message]
replies disabled

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