[Mono-list] mono-0.24 build and gdb

Paolo Molaro lupus@ximian.com
Wed, 7 May 2003 18:28:34 +0200


On 05/07/03 Piyush, Garyali (IE10) wrote:
> GC. Then why in case of mini do I still have the following :
> 
>     genmdesc_LDADD = $(libs) -lgc -lm
> 
> This broke my build and I had to remove -lgc to proceed.

Fixed in cvs. Note, though, that building without GC is strongly
discouraged.

> 2. I use gdb to debug into the, what is now called "oldmono" code:
> 
>     gdb --args oldmono helloworld.exe
> 
> but with the new mono(aot) whenever I open the gdb, it retorts with "mono:
> is not in executable format : File format not recognized". What might be the
> reason for this?

The new mono is dynamically linked to libmono, so libtool creates a
shell script in mini/mono.
The right way to run it in gdb is to issue:
	libtool --mode=execute gdb ...path../mono/mini/mono

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better