[Mono-dev] Novice in embeding Mono

Robert Jordan robertj at gmx.net
Mon Aug 21 05:15:04 EDT 2006


Hi,

Lucifer wrote:
> I'm new to Mono and unfamiliar with gcc compiler. Now I'd like to embed Mono
> runtime into my application.
> 
> However, how can I specify the search path of runtime-dependent
> DLLs(mscorlib.dll) for my application?
> 
> I've compiled my application with gcc as following command:
> 
> gcc sample.c `pkg-config --cflags --libs mono`
> 
> But when I start the program, it requests the 'mscorlib.dll' from the path
> 'C:/cygwin/tmp/install/lib\mono\2.0\'.
> 
> How can I specify the path so that it is in the same path with my
> application EXE?

http://mono-project.com/Embedding_Mono#Configuring_the_Runtime

Robert




More information about the Mono-devel-list mailing list