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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f701425bdb1c198e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.scarlet.biz!news.scarlet.biz.POSTED!not-for-mail NNTP-Posting-Date: Sat, 27 May 2006 09:54:07 -0500 From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: trying to compile gnat References: Date: Sat, 27 May 2006 16:53:55 +0200 Message-ID: <87k687h62k.fsf@ludovic-brenta.org> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:dVcluQv0DSEznLDuU9NgqytX3VI= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 62.235.56.108 X-Trace: sv3-jzSApD3G7GmC2sd68K4Ippm3ASg5F46JtD27ii8h6irCM502AtpKlrgUicYBn08IjYtDoKrKRJar3DW!3ySEyO+hhuPwMzO/bZcvKU7azvKD4B6Iqd6wG7kDyeOuQAYA0z4qcMq9tI9q/eoBQ2xBj3uHgw== X-Complaints-To: abuse@scarlet.be X-DMCA-Complaints-To: abuse@scarlet.biz X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news2.google.com comp.lang.ada:4544 Date: 2006-05-27T16:53:55+02:00 List-Id: Schüle Daniel writes: > Hello > > I am failing to compile gnat > the compilation goes fine but no gnatmake is generated > I was trying different gcc releases > > gcc-3.2.tar.bz2 > gcc-3.3.4.tar.bz2 > gcc-3.4.0.tar.bz2 > gcc-4.1.1.tar.bz2 > > tar xjf gcc-4.1.1.tar.bz2 > cd gcc-4.1.1 > ./configure --prefix=/myLocation --enable-languages=c,c++,ada Have you read the documentation? It clearly says you must not build in the directory containing the sources. You must do: $ mkdir gcc-4.1.1.o; cd gcc-4.1.1.o $ ../gcc-4.1.1/configure --prefix=/myLocation --enable-languages=c,c++,ada $ make bootstrap > also I tried to compile from parts, eg > > gcc-4.1.1 > gcc-ada-4.1.1.tar.bz2 > gcc-core-4.1.1.tar.bz2 > gcc-g++-4.1.1.tar.bz2 > gcc-testsuite-4.1.1.tar.bz2 > > cd gcc-4.1.1 > ./configure --prefix=/myLocation --enable-languages=c,c++,ada > > I am somewhat confused, gcc and g++ are genereated and > I can compile with them, so what's wrong with ada? > > Regards, Daniel Do you have a previous version of GNAT installed? Since GNAT is written in Ada, you need an Ada compiler to bootstrap it. What "make" command do you use, after the configure? It should be "make bootstrap" or "make bootstrap-lean". The GNAT tools (gnatmake etc) should then normally appear in the gcc subdirectory. More details here: http://ada.krischik.com/ HTH -- Ludovic Brenta.