64-bit Ruby on Solaris?

From: ts [mailto:decoux@moulon.inra.fr]
Sent: Saturday, November 01, 2003 9:40 AM
To: ruby-talk@ruby-lang.org
Cc: ruby-talk@ruby-lang.org
Subject: Re: 64-bit Ruby on Solaris?

As for bigdecimal.o, what information do you need? I’m
not sure what
you mean.

The result of the command file

nasun% file a.o
a.o: ELF 64-bit MSB relocatable SPARCV9 Version 1,
UltraSPARC1 Extensions Required
nasun%

Guy Decoux

Ah, ok

file bigdecimal.o

ELF 64-bit MSB relocatable SPARCV9 Version 1, UltraSPARC1 Extensions
Required

Same thing. Is that significant?

Regards,

Dan

···

-----Original Message-----

file bigdecimal.o

ELF 64-bit MSB relocatable SPARCV9 Version 1, UltraSPARC1 Extensions
Required

The object files in /usr/ccs/lib/sparcv9 has only the type

    ELF 64-bit MSB relocatable SPARCV9 Version 1

yes or no ?

Guy Decoux

ts wrote:

file bigdecimal.o

ELF 64-bit MSB relocatable SPARCV9 Version 1, UltraSPARC1 Extensions
Required

The object files in /usr/ccs/lib/sparcv9 has only the type

ELF 64-bit MSB relocatable SPARCV9 Version 1

yes or no ?

Guy Decoux

It appears so:

root@sp5wd-b1-/usr/ccs/lib/sparcv9-548>file *
libcurses.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1,
dynamically linked, not stripped
libform.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1,
dynamically linked, not stripped
libgen.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1,
dynamically linked, not stripped
libl.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1,
dynamically linked, not stripped
libld.so.2: ELF 64-bit MSB dynamic lib SPARCV9 Version 1,
dynamically linked, not stripped
libld.so.3: ELF 64-bit MSB dynamic lib SPARCV9 Version 1,
dynamically linked, not stripped
libmalloc.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1,
dynamically linked, not stripped
libmenu.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1,
dynamically linked, not stripped
libpanel.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1,
dynamically linked, not stripped
libtermcap.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1,
dynamically linked, not stripped
libtermlib.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1,
dynamically linked, not stripped
liby.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1,
dynamically linked, not stripped
llib-lcurses.ln: data
llib-lform.ln: data
llib-lgen.ln: data
llib-ll.ln: data
llib-lmenu.ln: data
llib-lpanel.ln: data
llib-ltermcap.ln: data
llib-ltermlib.ln: data
llib-ly.ln: data
values-Xa.o: ELF 64-bit MSB relocatable SPARCV9 Version 1
values-Xc.o: ELF 64-bit MSB relocatable SPARCV9 Version 1
values-Xs.o: ELF 64-bit MSB relocatable SPARCV9 Version 1
values-Xt.o: ELF 64-bit MSB relocatable SPARCV9 Version 1
values-xpg4.o: ELF 64-bit MSB relocatable SPARCV9 Version 1

Regards,

Dan

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]
#<BigDecimal:10022e690,'0.12E2',9(18)>
nasun%

Guy Decoux