[Mono-list] Mono embedded runtime
Martin Baulig
martin@gnome.org
27 Nov 2002 11:33:37 +0100
Paolo Molaro <lupus@ximian.com> writes:
> On 11/23/02 Kai Strempel wrote:
> > today I tried to use the mono embedded runtime. I have a link problem
> > with it. I linked a small test program to load an assembly with
> > mono_assembly_load. When I link with -lmono -lglib-2.0 -lgmodule I get
> > an link error against the 'mono_assembly_load' command.
> >
> > Have I forgot an lib or anything ???
> >
> > Are anywhere examples to embedded the runtime ???
>
> Look into mono/samples/embed.
> Note, you should use pkg-config to get the arguments to hand to the
> compiler to properly link and compile the program.
> Also, make sure you installed the libraries properly and you don't have
> old versions somewhere on your system.
Hmm, this reminds me that our pkg-config file is currently broken and that I wanted to fix
it. Last time I tried, it was missing -lgc.
--
Martin Baulig
martin@gnome.org