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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2e577f4772a2a915 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!u4g2000prn.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Marcelo_Cora=E7a_de_Freitas?= Newsgroups: comp.lang.ada Subject: Re: GPRbuild compatibility Date: Mon, 2 Aug 2010 09:17:17 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <82eiehtobg.fsf@stephe-leake.org> NNTP-Posting-Host: 200.168.77.219 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1280765838 30978 127.0.0.1 (2 Aug 2010 16:17:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 2 Aug 2010 16:17:18 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u4g2000prn.googlegroups.com; posting-host=200.168.77.219; posting-account=NclPyQoAAAAE3vS1fHd_8NOSumP9W3Ey User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Sabayon Chrome/5.0.375.99 Safari/533.4,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:12802 Date: 2010-08-02T09:17:17-07:00 List-Id: On 2 ago, 05:24, Stephen Leake wrote: > Marcelo Cora=E7a de Freitas writes: > > > Hello there! > > > Do you guys know with what compilers should gprbuild be compatible? > > The GNAT version it is released with > > > I mean, should I be able to build it and use against gnat-gcc-4.3.1 > > (well, I can't). > > What version of gprbuild, what OS, what problems? OS : Sabayon Linux amd64, kernel v2.6.34 GNAT : 4.3.1 FSF Error: gnatlink /home/ogro/tmp/ada/gprbuild/gprbuild-1.4.1-src/obj-debug/ gprconfig-main.ali /home/ogro/tmp/ada/gprbuild/gprbuild-1.4.1-src/obj- debug/gprbuild_dummies.o /home/ogro/tmp/ada/gprbuild/gprbuild-1.4.1- src/obj-debug/link.o -L/usr/local/lib/xmlada/static -lxmlada_schema -L/ usr/local/lib/xmlada/static -lxmlada_dom -L/usr/local/lib/xmlada/ static -lxmlada_sax -L/usr/local/lib/xmlada/static - lxmlada_input_sources -L/usr/local/lib/xmlada/static -lxmlada_unicode - Wl,-rpath,/usr/lib64/gnat-gcc/x86_64-pc-linux-gnu/4.3/adalib/ -o /home/ ogro/tmp/ada/gprbuild/gprbuild-1.4.1-src/gprconfig /home/ogro/tmp/ada/gprbuild/gprbuild-1.4.1-src/obj-debug/osint.o: In function `osint__file_length': /home/ogro/tmp/ada/gprbuild/gprbuild-1.4.1-src/gnat/osint.adb:1065: undefined reference to `__gnat_file_length_attr' (...) Several osint_* symbols can't be found when I build it. :) I will try the binary from AdaCore's libre site I get: 1. GCC-ASM for Asm in /usr/bin/ version 4.4.2 2. GCC-ASM for Asm in /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.2/ version 4.4.2 3. GCC-ASM for Asm2 in /usr/bin/ version 4.4.2 4. GCC-ASM for Asm2 in /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.2/ version 4.4.2 5. GCC-ASM for Asm_Cpp in /usr/bin/ version 4.4.2 6. GCC-ASM for Asm_Cpp in /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.2/ version 4.4.2 7. GCC for C in /usr/bin/ version 4.4.2 8. GCC for C in /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.2/ version 4.4.2 9. G++ for C++ in /usr/bin/ version 4.4.2 10. G++ for C++ in /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.2/ version 4.4.2 11. GFORTRAN for Fortran in /usr/bin/ version 4.4.2 12. GFORTRAN for Fortran in /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.2/ version 4.4.2 while gnatmake is in /usr/x86_64-pc-linux-gnu/gnat-gcc-bin/4.3/ and it's a different compiler from the system's gcc. maybe the GNAT version I am using is too old? regards,