comp.lang.ada
 help / color / mirror / Atom feed
From: Per Sandberg <per.s.sandberg@bahnhof.se>
Subject: Re: -fdump-ada-spec: "FILE" not declared
Date: Tue, 7 Apr 2020 21:29:00 +0200
Date: 2020-04-07T21:29:00+02:00	[thread overview]
Message-ID: <1w4jG.136762$Oi.43850@fx29.am4> (raw)
In-Reply-To: <hf3qglFt27eU1@mid.individual.net>

Hi
I recalled that i played with it some years ago so i just push:ed my 
play to github.

Have a look on:
	https://github.com/Ada-bindings-project/ada-gsl

/P


On 4/7/20 7:10 PM, hreba wrote:
> Hi,
> I am trying to generate Ada bindings for the GSL (Gnu Scientific 
> Library) odeiv2 package (ordinary differential equations). So I do the 
> following 2 steps:
> 1. Go to an empty directory "src" and execute
>     g++ -c -fdump-ada-spec -C /usr/include/gsl/gsl_odeiv2.h
> 2. Go to an empty directory "obj" and execute
>     gcc -c -gnat05 ../src/*.ads
> Unfortunately, gsl_odeiv2.h includes stdio.h, and this leads to a series 
> of errors like
> 
> stdio_h.ads:117:69: "FILE" not declared in
>      "x86_64_linux_gnu_bits_types_FILE_h"

  parent reply	other threads:[~2020-04-07 19:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-07 17:10 -fdump-ada-spec: "FILE" not declared hreba
2020-04-07 17:19 ` hreba
2020-04-11 17:01   ` hreba
2020-04-15 15:08     ` hreba
2020-04-07 19:29 ` Per Sandberg [this message]
2020-04-08 16:13   ` hreba
2020-04-15 20:02     ` Per Sandberg
2020-04-15 15:18 ` Luke A. Guest
replies disabled

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