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,84ebb57fe3fa097c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail From: "Dwight Schauer" Newsgroups: comp.lang.ada Subject: Re: Help with getting GNAT Ada running on 64-bit Gentoo Linux Date: 26 Feb 2005 17:47:13 -0800 Organization: http://groups.google.com Message-ID: <1109468833.465022.175590@o13g2000cwo.googlegroups.com> References: <87smaeph5z.fsf@insalien.org> <412BCB7B.9010905@ig.com.br> NNTP-Posting-Host: 64.219.100.33 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1109468837 7743 127.0.0.1 (27 Feb 2005 01:47:17 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 27 Feb 2005 01:47:17 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: o13g2000cwo.googlegroups.com; posting-host=64.219.100.33; posting-account=58QzDA0AAABR06_6VzJX-T8uIly0bWp4 Xref: g2news1.google.com comp.lang.ada:8504 Date: 2005-02-26T17:47:13-08:00 List-Id: 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.