64-bit for gcc-gnat-3.3.2

From: Adrian Hoe (adrianhoe_at_nowhere.com)
Date: 11/19/03


Date: Wed, 19 Nov 2003 16:21:42 +0800

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


Relevant Pages

  • Re: Suduko solver demo
    ... form of the sudoku solver as downloaded. ... private List remainingCells; ... Warning: unchecked call to addas a member of the raw ... Warning: unchecked conversion ...
    (comp.lang.java.help)
  • Warning when compiling s-interr.adb runtime file with -gnatc
    ... This warning is not raise when compiling wihtout -gnatc. ... Does the target and source types really have different sizes? ...
    (comp.lang.ada)
  • ld problem in solaris
    ... One file hash.cxx for verilog-95 and other file hashPSL.cxx for ... verilog-2000 PSL ... Then the ld gives the following warning when linking the final ...
    (comp.unix.solaris)
  • Re: [BUG] 2.6.27-rc1 - Filesystem warning on ext4 with e2fsck
    ... After running the fsx linux test on the ext4 partition mounted with ... Checking inodes, blocks, and sizes ... That'd produce exactly the above warning, ...
    (Linux-Kernel)
  • @SuppressWarnings("unchecked") not working
    ... I thought I could get rid of those ... warning: unchecked conversion ... but still get the warning when compiling with -Xlint:unchecked. ... Prev by Date: ...
    (comp.lang.java.programmer)