comp.lang.ada
 help / color / mirror / Atom feed
From: Robert A Duff <bobduff@shell01.TheWorld.com>
Subject: Re: Creating mixed language static libraries with gpr files?
Date: Wed, 04 Mar 2009 11:05:58 -0500
Date: 2009-03-04T11:05:58-05:00	[thread overview]
Message-ID: <wccprgxz315.fsf@shell01.TheWorld.com> (raw)
In-Reply-To: goleks$tar$1@nntp.ilk.net

Markus Schoepflin <nospam@no.spam> writes:

> I tried your suggestion and I also added 'for languages use ("Ada",
> "C");', as the gcc documentation mentions it, but the C sources are
> simply ignored.

gnatmake can compile the Ada part of a mixed-language program,
and link in the C part, but you have to use some other
method to compile the C -- usually a 'make' file.

gprbuild compile both Ada and C (and other languages).

See docs for more details.

gprmake is obsolete.

- Bob



  reply	other threads:[~2009-03-04 16:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-03  9:58 Creating mixed language static libraries with gpr files? Markus Schoepflin
2009-03-03 12:07 ` Ludovic Brenta
2009-03-03 14:49   ` Markus Schoepflin
2009-03-03 15:06     ` Alex R. Mosteo
2009-03-03 15:35       ` Ludovic Brenta
2009-03-03 20:57         ` sjw
2009-03-04 10:55           ` Ludovic Brenta
2009-03-04 19:34             ` sjw
2009-03-04 19:44               ` Ludovic Brenta
2009-03-03 15:14     ` britt.snodgrass
2009-03-03 18:29   ` Ludovic Brenta
2009-03-03 18:21 ` anon
2009-03-04  8:37   ` Markus Schoepflin
2009-03-04 16:05     ` Robert A Duff [this message]
2009-03-04  8:41 ` Vadim Godunko
2009-03-04 16:58   ` anhvofrcaus
2009-03-04 18:10     ` Ludovic Brenta
replies disabled

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