comp.lang.ada
 help / color / mirror / Atom feed
* 64-bit for gcc-gnat-3.3.2
@ 2003-11-19  8:21 Adrian Hoe
  2003-12-07  9:21 ` Andreas Almroth
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Hoe @ 2003-11-19  8:21 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-08  9:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-19  8:21 64-bit for gcc-gnat-3.3.2 Adrian Hoe
2003-12-07  9:21 ` Andreas Almroth
2003-12-08  9:03   ` Andreas Almroth

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