comp.lang.ada
 help / color / mirror / Atom feed
* AdaGide (Gnat) Build error
@ 2003-02-28  9:31 Willy
  2003-02-28  9:49 ` Peter Hermann
  0 siblings, 1 reply; 8+ messages in thread
From: Willy @ 2003-02-28  9:31 UTC (permalink / raw)


Hi, I made a really really really simple program in Ada using
AdaGide(Gnat). Although it compiles correctly, I'm unable to build it.

The file name is test.ada

and when I try building it, it gives me the following error

Building...
GNATMAKE 3.15p  (20020523) Copyright 1995-2002 Free Software
Foundation,
Inc.
End of compilation
gnatmake: "test" not found
Done--error detected.


I'm using windows 2000

Thanks for the help
Willy-



^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: AdaGide (Gnat) Build error
@ 2003-02-28 18:20 David C. Hoos
  2003-03-01  2:38 ` Jeffrey Carter
  2003-03-01  2:51 ` Steve
  0 siblings, 2 replies; 8+ messages in thread
From: David C. Hoos @ 2003-02-28 18:20 UTC (permalink / raw)
  To: comp.lang.ada mail to news gateway; +Cc: tchi_yuan

You apparently didn't pay close attention to the previous responses
to your original message.  The filename extension must be
.adb _not_ .ada

----- Original Message -----
From: "Willy" <tchi_yuan@hotmail.com>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: Friday, February 28, 2003 11:00 AM
Subject: Re: AdaGide (Gnat) Build error


> It still doesn't work. I changed the file name and the procedure name.
> I'm still getting the same error when I build
>
> -- filename is : test1.ada
>
> -- source code :
>
> with Text_Io;
> use Text_Io;
>
> procedure test1 is
>
>    package Es_Entiers is new Integer_Io ( Integer );
>
>    Num1 : Integer := 1;
>    Num2 : Integer := 2;
>    Num3 : Integer;
> begin
>
>    Num3 := Num1 / Num2;
>    Put("Answer: ");
>    Es_Entiers.Put(Num3);
>
> end test1;
>
>
> -- Error when I build :
>
> Building...
> GNATMAKE 3.15p  (20020523) Copyright 1995-2002 Free Software Foundation,
> Inc.
> End of compilation
> gnatmake: "test1" not found
> Done--error detected.
>
> -- Is there any setting I'm missing ? I'm new to AdaGide.
>
>
> Thanks,
> Willy-
>
>
>
>
>
> Peter Hermann <ica2ph@iris16.csv.ica.uni-stuttgart.de> wrote in message
news:<b3nbbs$ojb$1@news.uni-stuttgart.de>...
> > Willy <tchi_yuan@hotmail.com> wrote:
> > > The file name is test.ada
> > 1.
> > rename your file:  test.adb
> > 2.
> > check for procedure name to be "test" (the same as the file name)
> >
> > now you have fulfilled the conventions of the useful gnat way of naming.
> >
> >
> > longterm advice:
> > never use a procedure with the name "test",
> > better choose names other than test, e.g. test1 etc.
> > because there are operating systems (some unix)
> > with a special meaning of "test"
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
>




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

end of thread, other threads:[~2003-03-01  3:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-28  9:31 AdaGide (Gnat) Build error Willy
2003-02-28  9:49 ` Peter Hermann
2003-02-28 17:00   ` Willy
2003-02-28 23:46     ` Karen
  -- strict thread matches above, loose matches on Subject: below --
2003-02-28 18:20 David C. Hoos
2003-03-01  2:38 ` Jeffrey Carter
2003-03-01  3:35   ` David C. Hoos, Sr.
2003-03-01  2:51 ` Steve

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