[Mono-dev] profiler in master

Duane Wandless duane at wandless.net
Fri Dec 10 08:45:01 EST 2010


That has the same result as before.

Duane

On Fri, Dec 10, 2010 at 8:23 AM, Paolo Molaro <lupus at ximian.com> wrote:

>
> --
> -----------------------------------------------------------------
> lupus at debian.org                                     debian/rules
> lupus at ximian.com                             Monkeys do it better
>
>
> ---------- Forwarded message ----------
> From: Paolo Molaro <lupus at ximian.com>
> To: Duane Wandless <duane at wandless.net>
> Date: Fri, 10 Dec 2010 14:08:40 +0100
> Subject: Re: [Mono-dev] profiler in master
> On 12/10/10 Duane Wandless wrote:
> > I'm trying out the profiler on OSX against trunk.  I'm not getting any
> > useful info.  Do I have to build with special flags?  Is there something
> > else I'm missing.  Thanks,
>
> OSX as different default shared lib symbol search rules.
> Try this patch:
>
> diff --git a/mono/profiler/Makefile.am b/mono/profiler/Makefile.am
> index 26f2e1d..4aa72df 100644
> --- a/mono/profiler/Makefile.am
> +++ b/mono/profiler/Makefile.am
> @@ -36,6 +36,10 @@ libmono_profiler_iomap_la_LIBADD =
> $(top_builddir)/mono/mini/libmono-$(API_VER).
>  libmono_profiler_log_la_SOURCES = proflog.c
>  libmono_profiler_log_la_LIBADD =
> $(top_builddir)/mono/mini/libmono-$(API_VER).la $(Z_LIBS)
>
> +if PLATFORM_DARWIN
> +libmono_profiler_log_la_LDFLAGS = -undefined suppress -flat_namespace
> +endif
> +
>  mprof_report_SOURCES = decode.c
>  mprof_report_LDADD = $(Z_LIBS)
>
> lupus
>
> --
> -----------------------------------------------------------------
> lupus at debian.org                                     debian/rules
> lupus at ximian.com                             Monkeys do it better
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20101210/81e1991e/attachment.html 


More information about the Mono-devel-list mailing list