Re: ada compiler?



Your program work correctly with or without the command line option!
Using two different operating systems, Linux and FreeBSD. So, what
problem should I have seen?

Plus, it is not required. To increase the Ada programmer and Ada usage
you first must get the newbees to enjoy Ada before getting into the specific
stuff. So, why confuse him with command line options that are not needed
unless you want him to "HATE" Ada.




In <y4qdnVf5K_RaoajanZ2dnUVZ_hOdnZ2d@xxxxxxxxxxx>, tmoran@xxxxxxx writes:
Note that "-gnato -fstack-check" is needed for GNAT to be an Ada compiler.

Where did you get that one!

I have never use "-gnato -fstack-check" and all programs that I have
created have work. May be you have some wrong on your system.
Try
with ada.text_io;
procedure isitada is
x : integer := integer'last-2;
begin
ada.text_io.put("it is");
for i in 1 .. 3 loop
x := x+1;
end loop;
ada.text_io.put(" not Ada");
exception
when constraint_error =>
ada.text_io.put_line(" Ada");
end isitada;

.



Relevant Pages

  • Re: ada compiler?
    ... Not a simple command line answer which is vendor and/or version ... how many beginners first downloads a GNAT version that requires: ... Most beginners that are learning Ada just use: ... always use the standard Ada language concepts first. ...
    (comp.lang.ada)
  • Re: Fat32 format: a DFsee question
    ... Since it was never adopted by other operating systems it is not ... >>> volume or partition,' the program hangs with the use F10 to return to ... >>> the menus from the command line. ...
    (comp.os.os2.setup.misc)
  • Re: Isnt this in favour of Ada??
    ... >>> poorly to concurrency models supported by operating systems. ... >> when there is activity (if I were creating an Ada implementation). ... By "implementor" I presume you mean the person who builds an Ada ... compiler and runtime system for a particular operating system. ...
    (comp.lang.ada)
  • Re: Improving Adas image - Was: 7E7 Flight Controls Electronics
    ... That is fine except that doesn't say that Ada ... choose between Ada and C based operating systems? ... As MDC keeps saying, it would ... > that Linux and Microsoft do. ...
    (comp.lang.ada)
  • Re: Newbie question on C library system() function
    ... rest of my app executes. ... printer to see whether it completed a command yet. ... the characters to the printer, but the characters are getting buffered ... Most operating systems provide ways outside of C to wait gracefully; ...
    (comp.lang.c)