Re: Help with getting GNAT Ada running on 64-bit Gentoo Linux

From: Dwight Schauer (dschauer_at_gmail.com)
Date: 02/27/05

  • Next message: Adrian Hoe: "Re: POSIX.Memory_Mapping.Map_Memory"
    Date: 26 Feb 2005 17:47:13 -0800
    
    

    I've compiled gcc/gnat 3.4.3 on fedora core 3 prefixed to a different
    path than /. I had to disable multilib in order for it to build. The
    resulting installation seems to work. I copied it to a gentoo amd64,
    and it works on there as well. I tried it with some small ada programs
    and they compiled and ran the same as they do on fedora core 3. I'm
    having problems using it in the ebuild to bootstrap the cross
    compiler. It is not not passing the sanitty check.

    ---< start clip >---
    >>> Unpacking source...
    >>> Unpacking gcc-core-3.4.3.tar.bz2 to /var/tmp/portage/gnat-3.43/work
    >>> Unpacking gcc-ada-3.4.3.tar.bz2 to /var/tmp/portage/gnat-3.43/work
    >>> Source unpacked.
    creating cache ./config.cache
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking build system type... x86_64-unknown-linux-gnu
    checking for a BSD compatible install... /bin/install -c
    cc1: error: unrecognised debug output level "natpgn"
    *** The command '/opt/local-tools/host-gcc-ada-3.4.3/bin/gnatgcc -o
    conftest -O -gnatpgn conftest.c' failed.
    *** You must set the environment variable CC to a working compiler.

    !!! ERROR: dev-lang/gnat-3.43 failed.
    !!! Function src_compile, Line 80, Exitcode 1
    !!! configure failed
    !!! If you need support, post the topmost build error, NOT this status
    message.
    ---< end clip >---

    I can use that gnatgcc to compile other c programs.

    If I set my path to /opt/local-tools/host-gcc-ada-3.4.3/bin/ I can use
    gnatmake and what not, but I don't like have a kludged development
    environment.

    To compile it on fedora core 3 I basically just took the ebuild for
    gcc gnat 3.4.3 and hacked it up a bit in regular bash script and
    prefixed
    it to /opt/local-tools/host-gcc-ada-3.4.3/

    While I might be able to use it that way, I'd rather get it working in
    the gentoo portage system.


  • Next message: Adrian Hoe: "Re: POSIX.Memory_Mapping.Map_Memory"

    Relevant Pages

    • Re: Migrating from RedHat to Debian
      ... Not trying to prevent you from using Debian, but, in case you dind't know, ... fedora core 1 is RH10. ... Is likely to continue, free of any incovenient corporate decisions, unlike RedHat. ... For instance, I use the Intel Fortran Compiler, which is distributed in ...
      (comp.os.linux.misc)
    • Re: advice for a mac laptop, please
      ... do you know if there is a Fortran 90 compiler? ... what kind of differents I can find between Fedora Core 4 ... and MAC? ... I am pretty good in Fedora, I start using this linux distribution last ...
      (comp.sys.mac.misc)
    • No C# compiler found??
      ... I'm trying to compile a Mono application on Fedora Core 4. ... Using config source xml::/etc/gconf/gconf.xml.defaults for schema ... csc or mcs compiler for fedora. ...
      (Fedora)
    • Re: where I can find a Fortran 90/95 compiler
      ... I need a Fortran 90/95 to put in my machine that run Fedora Core 4. ... I know Intel do this and also is free for Student, ... compiler or there are other company where i can have a compiler. ...
      (comp.lang.fortran)
    • Re: The annotated annotated annotated C standard
      ... But you don't need to be clever to write a broken compiler. ... What "Feather did to Schildt" was review his book. ... written a working compiler for your book, well, I still find that hard to ...
      (comp.programming)