From: Robert Feldt Date: 2003-03-11T02:57:19+09:00 Subject: Re: project design issues On Tue, 11 Mar 2003, Armin Roehrl wrote: > > > 2) Can't be compiled to .exe > > > > This is actually false. I have "compiled" the FXRuby hello world example > > into a 1.6MB stand-alone binary on Windows using exerb and upx. So it can > > be done. Took about a second or so for it to start up on an AMD > > Athlon XP 1800+ with 512MB mem and Seagate Barracuda IV on ASUS A7V333 > Hi Robert, > > I tried that in vain in the past. > Could you email me the helloWorld.rbc file? > I built Ruby 1.8 with --with-gcc='-mno-cygwin' and then built fox and FXRuby from sources. Then installed exerb and upx packed the 1.8 rbx. Then ran exerb. I can send the rbc but its specific to my paths so instead you can see it below. Beware of truncated lines. $ cat hello.rbc # generated by mkrbc.rb kcode none script hello.rb hello.rb library fox.so D:/usr/local/lib/ruby/site_ruby/1.8/i386-msvcrt/fox.so script fox/aliases.rb D:/usr/local/lib/ruby/site_ruby/1.8/fox/aliases.rb script fox/chore.rb D:/usr/local/lib/ruby/site_ruby/1.8/fox/chore.rb script fox/core.rb D:/usr/local/lib/ruby/site_ruby/1.8/fox/core.rb script fox/dict.rb D:/usr/local/lib/ruby/site_ruby/1.8/fox/dict.rb script fox/glgroup.rb D:/usr/local/lib/ruby/site_ruby/1.8/fox/glgroup.rb script fox/input.rb D:/usr/local/lib/ruby/site_ruby/1.8/fox/input.rb script fox/iterators.rb D:/usr/local/lib/ruby/site_ruby/1.8/fox/iterator s.rb script fox/keys.rb D:/usr/local/lib/ruby/site_ruby/1.8/fox/keys.rb script fox/responder.rb D:/usr/local/lib/ruby/site_ruby/1.8/fox/responde r.rb script fox/responder2.rb D:/usr/local/lib/ruby/site_ruby/1.8/fox/responde r2.rb script fox/settings.rb D:/usr/local/lib/ruby/site_ruby/1.8/fox/settings.rb script fox/signal.rb D:/usr/local/lib/ruby/site_ruby/1.8/fox/signal.rb script fox/timeout.rb D:/usr/local/lib/ruby/site_ruby/1.8/fox/timeout.rb script fox/version.rb D:/usr/local/lib/ruby/site_ruby/1.8/fox/version.rb Regards, Robert