comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: .h header file in ObjectAda 8.2.2 source code?
Date: Thu, 01 Aug 2013 11:03:42 -0400
Date: 2013-08-01T11:03:42-04:00	[thread overview]
Message-ID: <857gg5fo6p.fsf@stephe-leake.org> (raw)
In-Reply-To: b4uuq9F9nohU1@mid.individual.net

Niklas Holsti <niklas.holsti@tidorum.invalid> writes:

> On 13-07-19 18:36 , dd24fan wrote:
>> #include "xyz.h" (this section has 40+ #includes of .h files)
>
> Ouch... lots of work, if you need all 40+ headers. The GNU Ada compiler
> system has a mode where the compiler can translate a C header file into
> Ada declarations -- perhaps this could help do the bulk work.

That's 'g++ -fdump-ada-spec'; see the GNAT user guide section on
"Generating Ada Bindings for C and C++ headers"
-- 
-- Stephe

      reply	other threads:[~2013-08-01 15:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-19 11:47 .h header file in ObjectAda 8.2.2 source code? dd24fan
2013-07-19 13:02 ` Niklas Holsti
2013-07-19 15:36 ` dd24fan
2013-07-20  5:41   ` Randy Brukardt
2013-07-22 19:06     ` dd24fan
2013-07-22 19:08     ` dd24fan
2013-07-22 20:04       ` Niklas Holsti
2013-07-23 12:05         ` dd24fan
2013-07-22 19:50     ` dd24fan
2013-07-20  8:07   ` Niklas Holsti
2013-08-01 15:03     ` Stephen Leake [this message]
replies disabled

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