From: Stephen Leake <stephen_leake@acm.org>
Subject: Re: Multiple shared libraries with a single spec
Date: Sat, 05 Nov 2005 10:47:20 -0500
Date: 2005-11-05T10:47:20-05:00 [thread overview]
Message-ID: <u3bmb6qrb.fsf@acm.org> (raw)
In-Reply-To: op.szrtzetmz25lew@super
"Martin Krischik" <krischik@users.sourceforge.net> writes:
> Am 05.11.2005, 13:44 Uhr, schrieb Lucretia <lucretia9@lycos.co.uk>:
>
>>> > Hmmm, haven't used project files yet.
>>>
>>> They are very nice. For example, they make it easy to specify compiler
>>> options on a per-file basis (which I use to work around compiler bugs
>>> :).
>> I'll look into it. Can they be used for mixed language programming? I'm
>> using makefiles for wxAda a the moment.
>
> 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
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.
However, 'gprmake' does not appear in the "super secret" GNAT
documentation, so I guess it qualifies as "top secret" :). GPS may use
it transparently; I don't use GPS.
--
-- Stephe
next prev parent reply other threads:[~2005-11-05 15:47 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 [this message]
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
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