[MacRuby] #765: framework is not supported in MacRuby static

MacRuby ruby-noreply at macosforge.org
Sat Dec 4 10:03:57 PST 2010


#765: framework is not supported in MacRuby static
----------------------------+-----------------------------------------------
 Reporter:  jazzbox@…       |       Owner:  lsansonetti@…        
     Type:  defect          |      Status:  new                  
 Priority:  major           |   Milestone:  MacRuby 0.7          
Component:  MacRuby         |    Keywords:                       
----------------------------+-----------------------------------------------

Comment(by jhemmelg@…):

 I tried to reproduce this problem with the nightly build 4 Dec 2010.
 Compilation failed with:

 {{{
 $ macrubyc -o test --framework Foundation --static test.rb
 Warning: static compilation is currently a work in progress and provided
 for development only. The compilation process may simply fail or generate
 non-functional machine code objects. Use it at your own risk.
 Undefined symbols:
   "_rb_pointer_new", referenced from:
       l1021 in libmacruby-static.a(string.o)
      (maybe you meant: _rb_pointer_new2)
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 Error when executing `/usr/bin/g++ -o "test" -arch x86_64 -lobjc -licucore
 -lauto -framework Foundation
 -L/Library/Frameworks/MacRuby.framework/Versions/0.8/usr/lib -lmacruby-
 static  "/var/folders/a4/a4otm566Goa4sXqf7P+jL++++TI/-Tmp-/main-16899.o"
 "./test.o"'
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/765#comment:3>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list