comp.lang.ada
 help / color / mirror / Atom feed
* MinGW GNAT and GCC specs strings
@ 2009-05-27  5:02 Hibou57 (Yannick Duchêne)
  2009-05-27  6:36 ` Hibou57 (Yannick Duchêne)
  0 siblings, 1 reply; 7+ messages in thread
From: Hibou57 (Yannick Duchêne) @ 2009-05-27  5:02 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-06-04 15:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-27  5:02 MinGW GNAT and GCC specs strings Hibou57 (Yannick Duchêne)
2009-05-27  6:36 ` 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)

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