From: "Berger, Daniel" Date: 2003-11-03T01:12:03+09:00 Subject: Re: 64-bit Ruby on Solaris? > -----Original Message----- > From: ts [mailto:decoux@moulon.inra.fr] > Sent: Sunday, November 02, 2003 8:08 AM > To: ruby-talk@ruby-lang.org > Cc: ruby-talk@ruby-lang.org > Subject: Re: 64-bit Ruby on Solaris? > > > >>>>> "D" == Daniel Berger writes: > > D> root@sp5wd-b1-/usr/ccs/lib/sparcv9-548>file * > > I really don't understand. With this > > nasun% gcc -v > Reading specs from > /opt/gcc332/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/specs > Configured with: /j/ts/gcc-3.3.2/configure > --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld > --prefix=/opt/gcc332 Thread model: posix gcc version 3.3.2 nasun% > > nasun% CC='gcc -m64 -mcpu=ultrasparc' ./configure > --prefix=$HOME/local/r181 [...] nasun% make [...] nasun% make > install [...] nasun% > > nasun% cd ~/local/r181/bin > nasun% file ruby > ruby: ELF 64-bit MSB executable SPARCV9 Version 1, > UltraSPARC1 > Extensions Required, dynamically linked, not stripped > nasun% > > nasun% ruby -vrbigdecimal -e 'p BigDecimal::new("12")' > ruby 1.8.1 (2003-10-31) [sparc-solaris2.8] > # > nasun% > > > > Guy Decoux Apparently I'm cursed. I'm nearing the point of re-installing the OS from scratch and rebuilding everything *without* using the GNU binutils package, which I suspect is the cause of my problems. Also, for the build you did above can you show me your environment settings and the Makefile perhaps? Regards, Dan