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.5 required=5.0 tests=BAYES_00,TO_NO_BRKTS_PCNT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5e42eb727857cd78,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-19 00:34:08 PST Message-ID: <3FBB2816.3090505@nowhere.com> Date: Wed, 19 Nov 2003 16:21:42 +0800 From: Adrian Hoe User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.4.1) Gecko/20020518 Netscape6/6.2.3 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: 64-bit for gcc-gnat-3.3.2 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 219.95.193.86 X-Original-NNTP-Posting-Host: 219.95.193.86 X-Trace: news.tm.net.my 1069230293 219.95.193.86 (19 Nov 2003 16:24:53 +0800) Organization: TMnet Malaysia Path: archiver1.google.com!news2.google.com!fu-berlin.de!in.100proofnews.com!in.100proofnews.com!news-out.visi.com!petbe.visi.com!uunet!ash.uu.net!news1.tm.net.my Xref: archiver1.google.com comp.lang.ada:2670 Date: 2003-11-19T16:21:42+08:00 List-Id: I have managed to build gcc-gnat 3.3.2 for Sparc/Solaris 9 but there is no support for 64-bit. I pass -m64 to gnatmake and the following error messages appeared: pyxis2% gnatmake transfer.adb -lgnat -L/usr/local/lib/gcc-lib/sparc-sun-solaris2 .9/3.3.2/adalib/ -m64 --RTS=/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/ gcc -c -lgnat -m64 --RTS=/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/ tran sfer.adb s-stalib.ads:67:04: warning: types for unchecked conversion have different sizes gcc: -lgnat: linker input file unused because linking not done gcc -c -lgnat -m64 --RTS=/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/ adaf tp.adb s-stalib.ads:67:04: warning: types for unchecked conversion have different sizes gcc: -lgnat: linker input file unused because linking not done gcc -c -lgnat -m64 --RTS=/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/ adaf tp-ftp.adb s-stalib.ads:67:04: warning: types for unchecked conversion have different sizes a-tags.adb:92:04: warning: types for unchecked conversion have different sizes a-tags.adb:95:04: warning: types for unchecked conversion have different sizes a-tags.adb:102:04: warning: types for unchecked conversion have different sizes a-tags.adb:105:04: warning: types for unchecked conversion have different sizes a-tags.adb:421:04: warning: types for unchecked conversion have different sizes a-tags.adb:426:04: warning: types for unchecked conversion have different sizes gcc: -lgnat: linker input file unused because linking not done gnatbind -aO./ --RTS=/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/ -I- -x t ransfer.ali gnatlink -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/adalib/ transfer.al i ld: fatal: file b~transfer.o: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to transfer collect2: ld returned 1 exit status gnatlink: cannot call /usr/local/bin/gcc gnatmake: *** link failed. I believe my gcc-gnat 3.3.2 does not support 64 bit. How do I check? How do I build gnat with 32- and 64-bit support? What have I missed? Thanks. -- Adrian Hoe m a i l b o x AT a d r i a n h o e . c o m