------- Comment #2 from ebotcazou at gcc dot gnu dot org 2008-10-12 19:47 ------- > This works for me with GCC 4.4.0 20081011 + GAS 2.18.92 + Sun ld on Solaris 9.
([EMAIL PROTECTED]) ~ $ gcc -v Using built-in specs. Target: sparc64-sun-solaris2.9 Configured with: /nile.build/botcazou/gcc-head/src/configure --build=sparc64-sun-solaris2.9 --prefix=/nile.build/botcazou/gcc-head/install_sparc64 --with-as=/nile.build/botcazou/gcc-head/install_sparc64/bin/as --with-gmp=/nile.build/botcazou/gcc-head/install_sparc64 --with-gmp-lib=/nile.build/botcazou/gcc-head/install_sparc64/lib/sparcv9 --with-mpfr=/nile.build/botcazou/gcc-head/install_sparc64 --with-mpfr-lib=/nile.build/botcazou/gcc-head/install_sparc64/lib/sparcv9 --enable-languages=c,ada --disable-nls Thread model: posix gcc version 4.4.0 20081011 for GNAT Pro 6.2.0w (20081010) (GCC) ([EMAIL PROTECTED]) ~ $ gnatmake -f -q ma ([EMAIL PROTECTED]) ~ $ file ma ma: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped ([EMAIL PROTECTED]) ~ $ gnatmake -f -q ma -m32 --RTS=sparcv7 ([EMAIL PROTECTED]) ~ $ file ma ma: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37799