comp.lang.ada
 help / color / mirror / Atom feed
From: "Hibou57 (Yannick Duchêne)" <yannick_duchene@yahoo.fr>
Subject: MinGW GNAT and GCC specs strings
Date: Tue, 26 May 2009 22:02:42 -0700 (PDT)
Date: 2009-05-26T22:02:42-07:00	[thread overview]
Message-ID: <ce83e6cd-9617-41ad-8360-4d04f553491e@g19g2000yql.googlegroups.com> (raw)

Hello all of you,

I've builded a custom MinGW environnemen. I've tried it on a C file :
Ok. Then I've tried it on an Ada file : Failed. gnat1 failed to find
system.ads. So I attempted to pass an "-Imydir" option to gnat1 adding
a "*gnat1: -Imydir." specs string in the GCC specs file, but it does
not seems to work. As a check, if I invok "gcc -v -c test.adb", then I
can see that the arguments I want to pass to gnat1 via the GCC specs
file is not given to the gnat1 command line. So I suppose GCC does not
know the gnat1 specs string (although is perfectly knows the cc1 specs
string).

Is it possible to pass the "-Imydir" command line option to gnat1
using the GCC specs file ?

Or is there another way, without using environnement variables, to
tell gnat1 where Ada includes and libs are located ?

Have a nice day



             reply	other threads:[~2009-05-27  5:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-27  5:02 Hibou57 (Yannick Duchêne) [this message]
2009-05-27  6:36 ` MinGW GNAT and GCC specs strings Hibou57 (Yannick Duchêne)
2009-05-27  7:27   ` Hibou57 (Yannick Duchêne)
2009-05-27 15:13     ` anhvofrcaus
2009-06-04  5:03       ` Hibou57 (Yannick Duchêne)
2009-06-04 15:20         ` anhvofrcaus
2009-06-04 15:58           ` Hibou57 (Yannick Duchêne)
replies disabled

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