From: Adrian Hoe <adrianhoe@nowhere.com>
Subject: 64-bit for gcc-gnat-3.3.2
Date: Wed, 19 Nov 2003 16:21:42 +0800
Date: 2003-11-19T16:21:42+08:00 [thread overview]
Message-ID: <3FBB2816.3090505@nowhere.com> (raw)
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
next reply other threads:[~2003-11-19 8:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-19 8:21 Adrian Hoe [this message]
2003-12-07 9:21 ` 64-bit for gcc-gnat-3.3.2 Andreas Almroth
2003-12-08 9:03 ` Andreas Almroth
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox