[Mono-list] build Mono statically linked?

Carl Potter Carl_Potter@SensArray.com
Wed, 9 Jul 2003 10:07:15 -0700


Hello All,

I've got Mono-0.25 and am trying to build it statically.

So far I've tried both putting CFLAGS=-static in my environment as well as
doing this with configure:

./configure --enable-static --prefix=/my/special/place

The binaries created by this are dynamic though (as indicated by the "file"
command).  I'm not sure what else I should do to get this to work.

I'd like to build it statically so that I can use Mono within an embedded
environment (BusyBox, uClibc, etc.).   

Any help for this groping Born-Again-Newbie would be appreciated :)

Thanks All,
Carl