comp.lang.ada
 help / color / mirror / Atom feed
From: "Marcelo Coraça de Freitas" <marcelo.batera@gmail.com>
Subject: Re: GPRbuild compatibility
Date: Mon, 2 Aug 2010 09:17:17 -0700 (PDT)
Date: 2010-08-02T09:17:17-07:00	[thread overview]
Message-ID: <f8c42fc7-97e5-4e41-8f79-b64b8fe70d02@u4g2000prn.googlegroups.com> (raw)
In-Reply-To: 82eiehtobg.fsf@stephe-leake.org

On 2 ago, 05:24, Stephen Leake <stephen_le...@stephe-leake.org> wrote:
> Marcelo Coraça de Freitas <marcelo.bat...@gmail.com> 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,



  reply	other threads:[~2010-08-02 16:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-01  8:17 GPRbuild compatibility Marcelo Coraça de Freitas
2010-08-01  9:00 ` anon
2010-08-01 10:23 ` John B. Matthews
2010-08-01 17:25 ` Simon Wright
2010-08-02  8:24 ` Stephen Leake
2010-08-02 16:17   ` Marcelo Coraça de Freitas [this message]
2010-08-02 17:04     ` Simon Wright
2010-08-02 17:49       ` Marcelo Coraça de Freitas
2010-08-02 20:54         ` Simon Wright
2010-08-03  0:45           ` Marcelo Coraça de Freitas
2010-08-03 16:25             ` Marcelo Coraça de Freitas
replies disabled

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