From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b0497cb22c18d6d2 X-Google-Attributes: gid103376,public From: grave Subject: Re: can ya help a newbie? Date: 1999/01/26 Message-ID: <36ADBBF9.193@ipnsun5.in2p3.fr>#1/1 X-Deja-AN: 437088051 Content-Transfer-Encoding: 7bit References: <78j7em$1r2$1@bunyip.cc.uq.edu.au> To: robsk Content-Type: text/plain; charset=us-ascii Organization: I.P.N Orsay Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-01-26T00:00:00+00:00 List-Id: 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