[Mono-dev] Mono.lib on Windows

Geoff Norton gnorton at novell.com
Fri May 30 20:38:46 EDT 2008


Wade,

  If thats the case then I think we should rename it to libmono.lib.  I
think the far more common use case for the file is going to be people
embedding on windows, which is Visual Studio.  I think people who want
to use it in cygwin are a very small subset of that crowd.  Lets rename
and document it the other way around.

-g

On Fri, 2008-05-30 at 18:33 -0600, Wade Berrier wrote:
> Wow, libmono.a is 64MB, 15 MB compressed... :(  Um, maybe we could have
> a win32 embedded Wiki page that describes this rather than ship 2 files
> of that size in the installer?
> 
> Ideas or recommendations?
> 
> Wade
> 
> On Fri, 2008-05-30 at 18:23 -0600, Wade Berrier wrote:
> > Just to be sure, this was using MSVC, correct?
> > 
> > I'll Update the script to make a copy of libmono.a -> mono.lib.
> > 
> > Thanks for trying this out and reporting!
> > 
> > Wade
> > 
> > On Fri, 2008-05-30 at 19:39 -0400, Bill Holmes wrote:
> > > Wade,
> > > 
> > > I finally got around to testing using libmono.a as the library to link
> > > on Windows and it work fine for me.
> > > 
> > > I did a simple test to call the first symbol I found in the include
> > > directory.  (See below.)  I guess that is enough proof of concept.
> > > 
> > > So the answer to you questoin on Thursday to use libmono.dll.a or
> > > libmono.a, the answer is libmono.a.
> > > 
> > > -bill
> > > 
> > > #include "stdafx.h"
> > > extern "C"
> > > {
> > > 	#include "mono-path.h"
> > > }
> > > 
> > > int _tmain(int argc, _TCHAR* argv[])
> > > {
> > > 	mono_path_resolve_symlinks ("");
> > > 	
> > > 	return 0;
> > > }
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list