comp.lang.ada
 help / color / mirror / Atom feed
From: "Lucretia" <lucretia9@lycos.co.uk>
Subject: Re: Multiple shared libraries with a single spec
Date: 7 Nov 2005 09:30:30 -0800
Date: 2005-11-07T09:30:30-08:00	[thread overview]
Message-ID: <1131384630.408929.252970@g47g2000cwa.googlegroups.com> (raw)
In-Reply-To: <u3bmb6qrb.fsf@acm.org>


Stephen Leake wrote:
> > Depends on the language you want to mix ;-). C and C++ work fine -
> > there  is a tool which will generate the needed makefiles for you.
> > gpr2make - I  am not at home so I can guess the name only

C, C++ and Ada

> GNAT GPL 2005 provides 'gprmake', which you run instead of gnatmake.
> You can then add C (not C++, I think) files (that is, directories
> containing *.c files) to your GNAT project files, and gprmake compiles
> the C code into a library, then calls gnatmake to build the Ada main,
> automatically linking in the C library. Very convenient.

Is it possible to *not* build a library from the C code as my code is a
mixture which is, in it's entirety, built into a single library at the
end, the way it should be, in this case!

Thanks,
Luke.




  parent reply	other threads:[~2005-11-07 17:30 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-04 12:28 Multiple shared libraries with a single spec Lucretia
2005-11-04 12:56 ` Niklas Holsti
2005-11-04 13:03   ` Lucretia
2005-11-04 13:22     ` Niklas Holsti
2005-11-04 15:43       ` Lucretia
2005-11-04 16:31         ` Pascal Obry
2005-11-04 17:36         ` Martin Krischik
2005-11-04 17:31       ` Martin Krischik
2005-11-04 21:55         ` Niklas Holsti
2005-11-04 13:04   ` Lucretia
2005-11-04 14:09 ` Stephen Leake
2005-11-04 15:53   ` Lucretia
2005-11-04 17:34     ` Martin Krischik
2005-11-05 10:41     ` Stephen Leake
2005-11-05 11:44       ` Lucretia
2005-11-05 14:17         ` Martin Krischik
2005-11-05 15:47           ` Stephen Leake
2005-11-05 16:00             ` Stefan Bellon
2005-11-06 11:57               ` Stephen Leake
2005-11-06 12:33                 ` Stefan Bellon
2005-11-07 17:30             ` Lucretia [this message]
2005-11-07 23:42               ` Stephen Leake
2005-11-08  6:31               ` Stefan Bellon
2005-11-05 14:12       ` Martin Krischik
2005-11-05 14:22         ` Pascal Obry
2005-11-07 14:12           ` Frank J. Lhota
2005-11-07 17:31             ` Pascal Obry
replies disabled

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