comp.lang.ada
 help / color / mirror / Atom feed
* Re: Gnat linking of C to Ada export pargma
  1996-10-11  0:00 Gnat linking of C to Ada export pargma Eugene Bingue
@ 1996-10-11  0:00 ` Robert Dewar
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Dewar @ 1996-10-11  0:00 UTC (permalink / raw)



Eugene asks

"problem:  Then main program is 'C' and I need to call a procedure in a
package.
What are the gcc arg for this."

This is fully documented in gnatinfo.txt. The necessary documentation
is hidden away under the obscure title :-)

"   Building a Program where the Main Program is not in Ada"





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

* Gnat linking of C to Ada export pargma
@ 1996-10-11  0:00 Eugene Bingue
  1996-10-11  0:00 ` Robert Dewar
  0 siblings, 1 reply; 2+ messages in thread
From: Eugene Bingue @ 1996-10-11  0:00 UTC (permalink / raw)



Did some help with GNAT and gcc.
problem:  Then main program is 'C' and I need to call a procedure in a
package.
What are the gcc arg for this.

Problem: Have a C main using a Ada procedure the ada procedure is calling a
'C' routine.
What is the gcc arg for this.

How do I make the Ada subprogram inside apackage visible to the C main()
under
GNAT.

Platform: NT, Win95, DOS

Mahalo
Eugene 




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

end of thread, other threads:[~1996-10-11  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-10-11  0:00 Gnat linking of C to Ada export pargma Eugene Bingue
1996-10-11  0:00 ` Robert Dewar

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