[Mono-devel-list] Beta1 preview.

Miguel de Icaza miguel at novell.com
Mon May 3 23:42:14 EDT 2004


Hello,

> As GAC is new in Mono I have what might be a silly question.  I noticed
> that all the libraries now seem to be installed in
> {PREFIX}/lib/mono/gac/ - so does that mean we shouldn't have libraries
> in {PREFIX}/lib anymore (like my mono-31 install)?

This is a grand question, and we should write more about this.

Yes, the libraries should be now installed on the GAC, I say should and
not must, because you can still keep them in $prefix/lib, and they will
keep working, but they will not have strong names and will not support
versions.

Now, to make things more interesting, it turns out that you also should
expose the libraries to the compiler in a separate location, to simplify
this process, we added a "/package NAME" option to gacutil (to be
specified at the end) that will make symlinks to the dlls in
$prefix/lib/mono/NAME.

That way you can ship your .pc files for pkg-config referencing that
directory, which is apparently the right thing to do (per the
discussions this week on the list).

Miguel.



More information about the Mono-devel-list mailing list