Re: Help with getting GNAT Ada running on 64-bit Gentoo Linux
From: Dwight Schauer (dschauer_at_gmail.com)
Date: 02/27/05
- Previous message: Jeff C: "Re: Source code of large programs wanted"
- Next in thread: Duncan Sands: "Re: Help with getting GNAT Ada running on 64-bit Gentoo Linux"
- Reply: Duncan Sands: "Re: Help with getting GNAT Ada running on 64-bit Gentoo Linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: Jeff C: "Re: Source code of large programs wanted"
- Next in thread: Duncan Sands: "Re: Help with getting GNAT Ada running on 64-bit Gentoo Linux"
- Reply: Duncan Sands: "Re: Help with getting GNAT Ada running on 64-bit Gentoo Linux"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|