public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Pierre Habraken <Pierre.Habraken@imag.fr>
To: gcc-help@gcc.gnu.org
Subject: Building for Ada :  make gnatlib_and_tools fails
Date: Fri, 28 Jun 2002 04:51:00 -0000	[thread overview]
Message-ID: <3D1C4DC3.39246FF3@imag.fr> (raw)

Hello,

I am trying to build gcc 3.1 for compiling Ada programs.
The build and target host is a Linux machine running Redhat 7.2.
The Gnat compiler is 3.14p.
I followed instructions given in http://gcc.gnu.org/install/build.html:

    cd gcc-3.1
    mkdir build
    cd build
    ../configure --enable-languages=c,ada
    cd ../gcc/ada
    touch treeprs.ads [es]info.h nmake.ad[bs]
    cd ../../build
    make bootstrap

Everything works fine until the end of this first step.
Then:

    cd gcc
    make gnatlib_and_tools

Building libgnat.a fails:
...
make[2]: Leaving directory `/usr/local/src/gcc-3.1/build/gcc/ada/rts'
rm -f rts/libgnat.a rts/libgnarl.a
ar rc rts/libgnat.a \
   rts/a-caldel.o rts/a-calend.o rts/a-chahan.o rts/a-charac.o
rts/a-chlat1.o ...
... rts/tracebak.o rts/expect.o rts/../../prefix.o
ar: rts/a-charac.o: No such file or directory
make[1]: *** [gnatlib] Error 1
make[1]: Leaving directory `/usr/local/src/gcc-3.1/build/gcc/ada'
make: *** [gnatlib] Error 2

I don't understand why some object files are missing at the time ar is
executed.
Does anyone have an idea about the mistake I did ?

Thanks in advance for any help.

Pierre
-- 
________________________________________________________________________
Pierre HABRAKEN - mailto:Pierre.Habraken@imag.fr
Tél: 04 76 82 72 83 - Fax: 04 76 82 72 87
IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex
________________________________________________________________________

             reply	other threads:[~2002-06-28 11:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-28  4:51 Pierre Habraken [this message]
2002-06-28  6:18 ` Florian Weimer
2002-06-28 13:02 ` Andris Pavenis
2002-07-01  5:26   ` Pierre Habraken

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D1C4DC3.39246FF3@imag.fr \
    --to=pierre.habraken@imag.fr \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).