comp.lang.ada
 help / color / mirror / Atom feed
* C++ and Ada
@ 1998-10-22  0:00 yuen3785
  0 siblings, 0 replies; 9+ messages in thread
From: yuen3785 @ 1998-10-22  0:00 UTC (permalink / raw)


If anyone out there has an example of calling exported Ada functions from C++,
I would appreciated.

I am trying to call a exported Ada function from Microsoft Visual C++.  When I
am trying to make a link, there are unresolved symbols from one of the Ada
library object file.  The name of the object file is min_tasking.a and is
provided by VADS Ada compiler without the source code.  I would like to find
out if there is a way to use only the symbols that I need and ignore the rest
of the symbols in the min_tasking.a.

Thank you
Wing


-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum




^ permalink raw reply	[flat|nested] 9+ messages in thread
* C++ and Ada
@ 1998-10-22  0:00 yuen3785
  1998-10-23  0:00 ` Jerry van Dijk
  1998-10-23  0:00 ` Stephen Leake
  0 siblings, 2 replies; 9+ messages in thread
From: yuen3785 @ 1998-10-22  0:00 UTC (permalink / raw)


If anyone out there has an example of calling exported Ada functions from C++,
I would appreciated it.

I am trying to call a exported Ada function from Microsoft Visual C++.  When I
am trying to make a link, there are unresolved symbols from one of the Ada
library object file.  The name of the object file is min_tasking.a and is
provided by VADS Ada compiler without the source code.  I would like to find
out if there is a way to use only the symbols that I need and ignore the rest
of the symbols in the min_tasking.a file

Thank you
Wing

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




^ permalink raw reply	[flat|nested] 9+ messages in thread
* C and ADA
@ 2008-01-02 22:33 Brian
  2008-01-02 22:44 ` Harald van Dijk
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Brian @ 2008-01-02 22:33 UTC (permalink / raw)


Hi I have an ADA function that I'd like to call from my C program.

Is there any way to provide a .h file containing a C prototype for the
ADA function and then link the ADA with the C? Does anyone have any
experience of this?

I'm using a GNU setup on Linux.

Thanks.




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

end of thread, other threads:[~2008-01-03  7:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-10-22  0:00 C++ and Ada yuen3785
  -- strict thread matches above, loose matches on Subject: below --
1998-10-22  0:00 yuen3785
1998-10-23  0:00 ` Jerry van Dijk
1998-10-23  0:00 ` Stephen Leake
2008-01-02 22:33 C and ADA Brian
2008-01-02 22:44 ` Harald van Dijk
2008-01-02 22:47 ` Keith Thompson
2008-01-02 23:09 ` Lucretia
2008-01-03  7:38 ` Jerry

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