[Mono-osx] mkbundle fails on Snow Leopard or Mono

Duane Wandless duane at wandless.net
Tue Oct 20 18:42:24 EDT 2009

Hopefully someone can help.  I had not run this step in awhile.  Since I
last ran this I've upgraded to Snow Leopard and Mono version
I am trying to use mkbundle like this:
> mkbundle -o test.c -oo libtest.a --nomain -c -L System.dll test.dll
OS is: Darwin
Sources: 1 Auto-dependencies: False
   embedding: /Users/dwandless/PixSrc/sandbox/testmkbundle/test.dll
as -o libtest.a temp.s
temp.s:2:unknown section type: symbol_stubs
temp.s:2:Rest of line ignored. 1st junk character valued 112 (p).

To workaround this I let it fail, then run:
> as -o libtest.a temp.s -arch i386

Which then produces the .a file.  The contents of test.dll are
extraordinarily simple.  namespace test { public class test1 { public void
func() { } } }, something like that.

Am I missing something?  Is there a better way than having it fail?  Which
of course messes up the make system.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20091020/22f0d237/attachment-0001.html 

More information about the Mono-osx mailing list