comp.lang.ada
 help / color / mirror / Atom feed
From: "Dwight Schauer" <dschauer@gmail.com>
Subject: Re: Help with getting GNAT Ada running on 64-bit Gentoo Linux
Date: 26 Feb 2005 17:47:13 -0800
Date: 2005-02-26T17:47:13-08:00	[thread overview]
Message-ID: <1109468833.465022.175590@o13g2000cwo.googlegroups.com> (raw)
In-Reply-To: 412BCB7B.9010905@ig.com.br

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.




  reply	other threads:[~2005-02-27  1:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-23  2:53 Help with getting GNAT Ada running on 64-bit Gentoo Linux Larry Elmore
2004-08-23  5:17 ` Ludovic Brenta
2004-08-23 23:54   ` Larry Elmore
2004-08-24 23:12     ` Cesar Rabak
2005-02-27  1:47       ` Dwight Schauer [this message]
2005-02-27 10:40         ` Duncan Sands
2005-03-26  8:45           ` Dwight Schauer
replies disabled

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