comp.lang.ada
 help / color / mirror / Atom feed
* can ya help a newbie?
@ 1999-01-26  0:00 robsk
  1999-01-26  0:00 ` grave
  0 siblings, 1 reply; 4+ messages in thread
From: robsk @ 1999-01-26  0:00 UTC (permalink / raw)


after installing gnat 3.10 into /usr/bin,
and making a simple "hello world" program
called hello.adb, here is some sample shell:

bash> ls
hello.adb

bash> gnatmake hello
gcc -c hello.adb
gnatbind -x hello.ali
gnatlink hello.ali
ld: cannot open crtbegin.o: No such file or directory
gnatmake: *** link failed.

bash> which gnatmake
/usr/bin/gnatmake

bash> find / -name crtbegin.o
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.29/crtbegin.o
/usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/crtbegin.o

bash>

can you help me?




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

* Re: can ya help a newbie?
  1999-01-26  0:00 can ya help a newbie? robsk
@ 1999-01-26  0:00 ` grave
  1999-01-26  0:00   ` David C. Hoos, Sr.
  1999-01-28  0:00   ` Vincent
  0 siblings, 2 replies; 4+ messages in thread
From: grave @ 1999-01-26  0:00 UTC (permalink / raw)
  To: robsk

robsk wrote:
> 
> after installing gnat 3.10 into /usr/bin,
> and making a simple "hello world" program
> called hello.adb, here is some sample shell:
> 
> bash> ls
> hello.adb
> 
> bash> gnatmake hello
> gcc -c hello.adb
> gnatbind -x hello.ali
> gnatlink hello.ali
> ld: cannot open crtbegin.o: No such file or directory
> gnatmake: *** link failed.
> 
> bash> which gnatmake
> /usr/bin/gnatmake
> 
> bash> find / -name crtbegin.o
> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.29/crtbegin.o
> /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/crtbegin.o
> 
> bash>
> 
> can you help me?
How do you install you gnat3.10 ? With a .rpm or .deb package ?
if you do gcc -v it will explain you where it look for crtbegin.o.
If this is in another directory, just do a link (ln -s) to the right
place.

O+ xavier




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

* Re: can ya help a newbie?
  1999-01-26  0:00 ` grave
@ 1999-01-26  0:00   ` David C. Hoos, Sr.
  1999-01-28  0:00   ` Vincent
  1 sibling, 0 replies; 4+ messages in thread
From: David C. Hoos, Sr. @ 1999-01-26  0:00 UTC (permalink / raw)



grave wrote in message <36ADBBF9.193@ipnsun5.in2p3.fr>...
>robsk wrote:
>>
>> after installing gnat 3.10 into /usr/bin,
>> and making a simple "hello world" program
>> called hello.adb, here is some sample shell:
>>
>> bash> ls
>> hello.adb
>>
>> bash> gnatmake hello
>> gcc -c hello.adb
>> gnatbind -x hello.ali
>> gnatlink hello.ali
>> ld: cannot open crtbegin.o: No such file or directory
>> gnatmake: *** link failed.
>>
>> bash> which gnatmake
>> /usr/bin/gnatmake
>>
>> bash> find / -name crtbegin.o
>> /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.90.29/crtbegin.o
>> /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/crtbegin.o
>>
>> bash>
>>
>> can you help me?
>How do you install you gnat3.10 ? With a .rpm or .deb package ?
>if you do gcc -v it will explain you where it look for crtbegin.o.
>If this is in another directory, just do a link (ln -s) to the right
>place.
>
Why not just get gnat-3.11p.

For Redhat 5:
ftp://ftp.cs.nyu.edu/pub/gnat/gnat-3.11p-i686-pc-linux-gnu-bin.tar.gz

For Redhat 4, Slackware 3.6:
ftp://ftp.cs.nyu.edu/pub/gnat/gnat-3.11p-i686-pc-linux-gnulibc1-bin.tar.gz









>O+ xavier






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

* Re: can ya help a newbie?
  1999-01-26  0:00 ` grave
  1999-01-26  0:00   ` David C. Hoos, Sr.
@ 1999-01-28  0:00   ` Vincent
  1 sibling, 0 replies; 4+ messages in thread
From: Vincent @ 1999-01-28  0:00 UTC (permalink / raw)


grave wrote:

> > can you help me?
> How do you install you gnat3.10 ? With a .rpm or .deb package ?
> if you do gcc -v it will explain you where it look for crtbegin.o.
> If this is in another directory, just do a link (ln -s) to the right
> place.
>
> O+ xavier

What is more, if you really want gnat-3.10p in .rpm format,
(waiting for the 3.11p to be in .rpm) you can easily install  the
one in
 ftp://contrib.redhat.com/libc6/i386/
  gnat-3.10p-3.i386.rpm                    6123 Kb    Wed Dec 16
02:22:00 1998
  gnat-docs-3.10p-3.i386.rpm                776 Kb    Wed Dec 16
02:32:00 1998

it works fine with RH5.2. And you can interface it easily with g77 !Gray
Hat !

A+,
Vincent

PS: and maybe the 3.11p should appear soon in the same location !






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

end of thread, other threads:[~1999-01-28  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-26  0:00 can ya help a newbie? robsk
1999-01-26  0:00 ` grave
1999-01-26  0:00   ` David C. Hoos, Sr.
1999-01-28  0:00   ` Vincent

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