[Mono-list] mono-0.24 build and gdb
Miguel de Icaza
07 May 2003 11:16:46 -0400
> 1. If I don't use the Garbage Collector and do a ./configure .. I get "GC :
> Auto" which I reckon means that the build would go ahead without the use of
> 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.
Auto is an artifact of the past. Back then we were hoping to support
more than one GC engine. Auto means `Use any GC if found, do not use it
if not found' as opposed to `definitely use Boehm or definitely do not
You have to manually specify none there:
> 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?
If you do that from the Mono build directory, `mono' and `oldmono' are
wrappers generated by libtool. The real binaries typically live under
So you can do:
gdb --args .libs/mono helloworld.exe
Or just do a make install and use as you normally would.