[Mono-list] mscorlib.dll vs corlib.dll
Giuseppe Greco
giuseppe.greco@agamura.com
Tue, 18 Nov 2003 15:31:30 +0100 (CET)
... I've exactly the same problem ...
To compile mcs successfully, I've to rename
mcs/lib/mscorlib.dll to mcs/lib/corlib.dll
manually.
Gius_.
> Hi
>
> I get the latest sources via cvs then do a
> make fullbuild
>
> but get the following error:
> mcs /nowarn:649 /nowarn:169 -d:INSIDE_CORLIB -d:NET_1_1 -g /noconfig
> /unsafe /nostdlib /target:library /out:../../class/lib/mscorlib.dll
> @../../build/deps/corlib.dll.response
> WROTE SYMFILE: 977 sources, 9476 methods, 6144 types, 49037 line numbers,
> 5096 locals, 3551 namespaces, 946051 bytes of string data
> OffsetTable [2629318 - 52:2492106 - 977:2605870:23448 -
> 9476:2492158:113712 - 6144]
> Compilation succeeded
> make[1]: Leaving directory
> `/home/jonathan/DEV/mono/tools/mcs/class/corlib'
> cp ../mcs/class/lib/corlib.dll runtime
> cp: cannot stat `../mcs/class/lib/corlib.dll': No such file or directory
> make: *** [mcs-tree-safe-build] Error 1
>
> Looking at the makefiles reveals that the corlib/Makefile refers to
> mscorlib.dll while the mono/Makefile.am refers to corlib.dll.
>
> ie.
> mcs/class/corlib/Makefile
> corlib = $(topdir)/class/lib/mscorlib.dll
>
>
> mono/Makefile.am
> mcs-tree-safe-build:
> (cd ../mcs/jay; $(MAKE))
> (cd ../mcs/mcs; $(MAKE) MCS=mcs)
> (cd ../mcs/class/corlib; $(MAKE) MCS=mcs)
> cp ../mcs/class/lib/corlib.dll runtime
> cp ../mcs/mcs/mcs.exe runtime
>
> Shouldn't the mono/Makefile.am say mscorlib.dll?
>
> Jonathan
> _______________________________________________
> Mono-list maillist - Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
----------------------------------------
Giuseppe Greco
::agamura::
phone: +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email: giuseppe.greco@agamura.com
web: www.agamura.com
----------------------------------------