[Mono-dev] [PATCH 01/12] configure: Add support for Haiku

Andreas Färber andreas.faerber at web.de
Mon Mar 29 14:08:39 EDT 2010


Am 26.03.2010 um 16:07 schrieb Rodrigo Kumpera:

> Patch looks good.

Thanks, applied to trunk in r154390 with the following Haiku (cc by):

Not Just For Monkeys
Common Runtime Is Purpose
For Mono To Be

> diff --git a/configure.in b/configure.in
> index 92c4cf9..5cc7e4e 100644
> --- a/configure.in
> +++ b/configure.in
> @@ -257,6 +257,17 @@ case "$host" in
>                                ;;
>                esac
>                ;;
> +       *-*-haiku*)
> +               platform_win32=no

s/platform_win32/host_win32/

> +               CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_THREAD_SAFE"
> +               libmono_cflags="-D_REENTRANT -D_THREAD_SAFE"
> +               libdl=
> +               LIBS="$LIBS -lnetwork"
> +               need_link_unlink=yes
> +               AC_DEFINE(PTHREAD_POINTER_ID)
> +               libgc_threads=pthreads
> +               use_sigposix=yes
> +               ;;
>        *)
>                AC_MSG_WARN([*** Please add $host to configure.in  
> checks!])
>                host_win32=no
> @@ -2048,6 +2059,12 @@ case "$host" in
>                        ;;
>                  cygwin*)
>                        have_visibility_hidden=no
> +                       ;;
> +                 haiku*)

> +                       # at least for GCC2 there are similar  
> warnings as above
> +                       have_visibility_hidden=no

I omitted this part since it works fine without when using the gcc4  
toolchain.

Andreas

> +                       LIBC=libroot.so
> +                       ;;
>                esac
>                ;;
>        x86_64-*-* | amd64-*-*)
> --
> 1.6.5.3



More information about the Mono-devel-list mailing list