>>>>> "n" == nobu nokada <nobu.nokada / softhome.net> writes:

n> Then, it'd be simple.

 Seems to work with me.

 If one day I forget, here the result Solaris 8 / gcc 2.95.3

nasun% /opt/sfw/bin/gcc -v
Reading specs from /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)
nasun% 

nasun% truss miniruby ./ext/extmk.rb --extstatic= --dest-dir= --make=make --mflags= --make
[...]
getcontext(0xFFBEB160)
getcontext(0xFFBEAF78)
getcontext(0xFFBECEB0)
setcontext(0xFFBEB760)
setcontext(0xFFBEC458)
    Incurred fault #6, FLTBOUNDS  %pc = 0x00025738
      siginfo: SIGSEGV SEGV_MAPERR addr=0x000003C4
    Received signal #11, SIGSEGV [caught]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x000003C4
sigprocmask(SIG_SETMASK, 0xFF1EEFE8, 0x00000000) = 0
/usr/home/msys/decoux/ruby/ruby-1.8.1/lib/getopts.rb:65: write(2, " / u s r / h o m e / m s".., 57)     = 57
[BUG] write(2, " [ B U G ]  ", 6)                       = 6
Segmentation faultwrite(2, " S e g m e n t a t i o n".., 18)    = 18
[...]
nasun%

 now with 

nasun% gcc -v
Reading specs from /opt/sparcv9/bin/../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% make test
test succeeded
nasun% 



Guy Decoux