comp.lang.ada
 help / color / mirror / Atom feed
* Re: gnat on linux
  1999-01-22  0:00 gnat on linux newport
@ 1999-01-22  0:00 ` David C. Hoos, Sr.
  0 siblings, 0 replies; 8+ messages in thread
From: David C. Hoos, Sr. @ 1999-01-22  0:00 UTC (permalink / raw)



newport@newport-sys.com wrote in message
<78a80k$131$1@nnrp1.dejanews.com>...
>I am running gnat on linux. Any ideas about where to find help writing
>compilation scripts?
>
Can you give us a clue as to what your compilation problem is?

Normally, one doesn't need to use compilation scripts at all -- just do
a gnatmake command on the main program, and everything necessary is compiled
and linked.

There are various options available with gnat for dealing with multiple
source
directories, etc., but if you can provide more context for your question,
I'll be glad to help.

David C. Hoos, Sr.







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

* gnat on linux
@ 1999-01-22  0:00 newport
  1999-01-22  0:00 ` David C. Hoos, Sr.
  0 siblings, 1 reply; 8+ messages in thread
From: newport @ 1999-01-22  0:00 UTC (permalink / raw)


I am running gnat on linux. Any ideas about where to find help writing
compilation scripts?

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




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

* Re: gnat on linux
  2000-04-15  0:00 Johan Groth
@ 2000-04-15  0:00 ` David Starner
  2000-04-15  0:00 ` Pascal Obry
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: David Starner @ 2000-04-15  0:00 UTC (permalink / raw)


On Sat, 15 Apr 2000 22:12:06 +0200, Johan Groth <jgroth@xpress.se> wrote:
>Hello,
>I've been trying to get gnat-3.10p work on RedHat 6.0 without any luck.
>Any program I try to run after I've done gnatmake just dumps core. Here
>is an output from gdb:

Get gnat-3.12p. Funky libc version changes do funky things with gnat-3.10p.
See www.gnuada.org for binaries.

-- 
David Starner - dstarner98@aasaa.ofe.org
Only a nerd would worry about wrong parentheses with
square brackets. But that's what mathematicians are.
   -- Dr. Burchard, math professor at OSU




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

* gnat on linux
@ 2000-04-15  0:00 Johan Groth
  2000-04-15  0:00 ` David Starner
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Johan Groth @ 2000-04-15  0:00 UTC (permalink / raw)


Hello,
I've been trying to get gnat-3.10p work on RedHat 6.0 without any luck.
Any program I try to run after I've done gnatmake just dumps core. Here
is an output from gdb:

[jgroth@tiger ~/src/adasrc]$ gdb test
GNU gdb 4.17.0.11 with Linux support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...
(gdb) r
Starting program: /home/jgroth/src/adasrc/test 

Program received signal SIGSEGV, Segmentation fault.
0x4006df7d in _IO_setvbuf (fp=0x8052810, buf=0x0, mode=2, size=0)
    at iosetvbuf.c:92
iosetvbuf.c:92: No such file or directory.
(gdb) 

test.adb looks like this:

[jgroth@tiger ~/src/adasrc]$ more test.adb 
with Text_Io;
use Text_Io;

procedure test is
begin
   Put_Line("hejsan");
end test;

There is something wrong with my environment but I don't know what. Can
anyone help me?

Please reply by email.

TIA,
Johan


-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
   "Better to ask questions and seem stupid
    than not to ask questions and remain stupid" -Unknown
           Johan Groth <jgroth@xpress.se> Kupolen Data




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

* Re: gnat on linux
  2000-04-15  0:00 Johan Groth
  2000-04-15  0:00 ` David Starner
@ 2000-04-15  0:00 ` Pascal Obry
  2000-04-16  0:00 ` Bobby D. Bryant
  2000-04-16  0:00 ` Robert Dewar
  3 siblings, 0 replies; 8+ messages in thread
From: Pascal Obry @ 2000-04-15  0:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 730 bytes --]


Johan Groth a �crit dans le message <38F8CD16.B7D794AD@xpress.se>...
>Hello,
>I've been trying to get gnat-3.10p work on RedHat 6.0 without any luck.
>Any program I try to run after I've done gnatmake just dumps core. Here
>is an output from gdb:


You should definitly upgrade to 3.12. There is a RPM for Linux somewhere.

I think there is a pointer on www.adapower.com

Pascal.

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"







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

* Re: gnat on linux
  2000-04-15  0:00 Johan Groth
                   ` (2 preceding siblings ...)
  2000-04-16  0:00 ` Bobby D. Bryant
@ 2000-04-16  0:00 ` Robert Dewar
  3 siblings, 0 replies; 8+ messages in thread
From: Robert Dewar @ 2000-04-16  0:00 UTC (permalink / raw)


In article <38F8CD16.B7D794AD@xpress.se>,
  Johan Groth <jgroth@xpress.se> wrote:
> Hello,
> I've been trying to get gnat-3.10p work on RedHat 6.0 without
> any luck. Any program I try to run after I've done gnatmake
> just dumps core. Here is an output from gdb:

Two points here

1. Do be SURE to read at least the readme file that comes with
the distribution. It is always surprising to see how many
problems people run into from not even bothering to read this
one document. In this case the readme file will make clear that
this ancient version of GNAT (released well before RedHat 6.0
existed) supports an earlier version of RedHat, and it is not
at all surprising that it would not support later versions.

2. If you are working with donwloaded unsupported software, you
should always be sure to check whether there are later versions.
Of course if you are using supported software, your support
contacts will point you to these later versions instantly, but
if you are working on your own, you have to take the initiative
to check for later versions.

In the case of GNAT, there are fairly frequent updates, and
they contain many new features, fixes, and, as is most relevant
in this case, modifications to work with latest versions of
operating systems.

In the case of Linux, there is a team that works on GNAT for
Linux, and provides a site from which the latest versions may
be conveniently downloaded:

http://www.gnuada.org/alt.html

The GNAT for Linux team is not an official part of Ada Core
Technologies, but we keep in close contact, so the latest
versions should always be at this site. So you should travel
there ASAP!

Robert Dewar
Ada Core Technologies


Sent via Deja.com http://www.deja.com/
Before you buy.




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

* Re: gnat on linux
  2000-04-15  0:00 Johan Groth
  2000-04-15  0:00 ` David Starner
  2000-04-15  0:00 ` Pascal Obry
@ 2000-04-16  0:00 ` Bobby D. Bryant
  2000-04-16  0:00 ` Robert Dewar
  3 siblings, 0 replies; 8+ messages in thread
From: Bobby D. Bryant @ 2000-04-16  0:00 UTC (permalink / raw)
  To: Johan Groth

Johan Groth wrote:

> I've been trying to get gnat-3.10p work on RedHat 6.0 without any luck.
> Any program I try to run after I've done gnatmake just dumps core.

Since you are running Red Hat, you might as well make life easy for
yourself and install the latest version of GNAT from RPMs.  You can get
them (and lots of other goodies) at the Ada for Linux Team's page,
http://www.gnuada.org/alt.html. (The link to the RPMs page is right up near
the top.)

Bobby Bryant
Austin, Texas






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

* gnat on linux
@ 2000-04-16  0:00 Johan Groth
  0 siblings, 0 replies; 8+ messages in thread
From: Johan Groth @ 2000-04-16  0:00 UTC (permalink / raw)


Thank you all who helped me find newer GNAT-RPMs.

/Johan

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
   "Better to ask questions and seem stupid
    than not to ask questions and remain stupid" -Unknown
           Johan Groth <jgroth@xpress.se> Kupolen Data




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

end of thread, other threads:[~2000-04-16  0:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-22  0:00 gnat on linux newport
1999-01-22  0:00 ` David C. Hoos, Sr.
  -- strict thread matches above, loose matches on Subject: below --
2000-04-15  0:00 Johan Groth
2000-04-15  0:00 ` David Starner
2000-04-15  0:00 ` Pascal Obry
2000-04-16  0:00 ` Bobby D. Bryant
2000-04-16  0:00 ` Robert Dewar
2000-04-16  0:00 Johan Groth

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