comp.lang.ada
 help / color / mirror / Atom feed
From: Mark Bennison <mark.bennison@gecm.com.no.spam>
Subject: Re: C interface - Apex/Verdix
Date: 1997/05/30
Date: 1997-05-30T00:00:00+00:00	[thread overview]
Message-ID: <5mmoe8$dq4@gcsin3.geccs.gecm.com> (raw)
In-Reply-To: 5mjb0u$dhi@newshub.atmnet.net


cgreen@yosemite.atc.com (Christopher Green) wrote:
>In article <338ce5d2.87925678@news.mhv.net>,
>Paul Van Bellinghen <pvanbell@mhv.net> wrote:
>>Has anyone ever intefaced a C object module with an (Ada83) Ada
>>program in the Rational Apex or Verdix VadsCross environment? I am
>>planning to just include the object module in the compilation view and
>>use the  Pragma Interface (C, c-function-name). Will this work?
>
>You may also need pragma Interface_Name (c-function-name, "actual-name");
>this will account for situations where VADS name-mangling doesn't yield
>the correct name for the C function.
>

Another thing that may be relevant is that you will need ( in 
VadsCross, I haven't used Apex ) to add a WITH directive to the ada.lib 
file ( using a.info -i ) to give the location of your 'C' object code to 
the linker.

Mark.
-- 
Mark Bennison,           +-----------------------------------+
Technical Consultant,    | All opinions expressed are my own |
EASAMS Software Systems. +-----------------------------------+
"Death is a fickle hen, and random are her eggs" - Armando Iannucci
Remove '.no.spam' to return e-mail





  reply	other threads:[~1997-05-30  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-29  0:00 C interface - Apex/Verdix Paul Van Bellinghen
1997-05-29  0:00 ` Christopher Green
1997-05-30  0:00   ` Mark Bennison [this message]
1997-06-04  0:00   ` Gary Brumfield
1997-06-06  0:00     ` Arthur Schwarz
1997-06-07  0:00     ` Robert Dewar
replies disabled

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