[Mono-dev] [PATCH] Fix for not being able to cache __thread and signalstack checks

Damian Kaczmarek rush at rushbase.net
Fri Sep 18 21:12:07 EDT 2009


Good evening ladies and gentlemen,
My first message here so please indulge my lack of experience
regarding customs on this mailing list.
I am cross compiling mono for ARM and encountered a problem with
having to modify "configure" to skip __thread and signalstack checks.
Thinking how to do it "the right way" I modified configure.in to allow
caching for those checks. I attach the patch for your approval (or
not).

Now the following cache allows to cross-compile without having to run
any test programs by configure:
mono_cv___thread=${mono_cv___thread=yes}
mono_cv_signalstack=${mono_cv_signalstack=yes}
mono_cv_sizeof_sunpath=${mono_cv_sizeof_sunpath=108}
mono_cv_stack_grows=${mono_cv_stack_grows=no}
mono_cv_uscore=${mono_cv_uscore=no}

Best regards,
Damian Kaczmarek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.in-__thread_and_signalstack_cache.patch
Type: text/x-patch
Size: 5808 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090919/b85513e4/attachment.bin 


More information about the Mono-devel-list mailing list