[Mono-list] macosx --host=x86_64-apple-darwin10

Sylvain Pointeau sylvain.pointeau at gmail.com
Wed Jul 21 11:45:26 EDT 2010


I am running in 64bits mode on my mac and I compiled everything in 64 bits.
therefore now, I am obliged to compile Mono in 64b as well.
I thought it will work to take the SVN version and to compile it with the
configure below:

./configure --prefix=/user/local/mono270/ --host=x86_64-apple-darwin10

but I have this error then:

/bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\"libgc-mono\"
-DPACKAGE_STRING=\"libgc-mono\ 6.6\" -DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\"
-DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I./.. -I./.. -I./include
-DUSE_MMAP -DUSE_MUNMAP -DGetCurrentProcess=MonoGetCurrentProcess
-DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent   -g
-MT allchblk.lo -MD -MP -MF .deps/allchblk.Tpo -c -o allchblk.lo allchblk.c
mkdir .libs
 gcc -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-mono\"
-DPACKAGE_VERSION=\"6.6\" "-DPACKAGE_STRING=\"libgc-mono 6.6\""
-D_IN_LIBGC=1 -I./.. -I./.. -I./include -no-cpp-precomp -D_THREAD_SAFE
-DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent -g -MT
allchblk.lo -MD -MP -MF .deps/allchblk.Tpo -c allchblk.c  -fno-common -DPIC
-o .libs/allchblk.o
In file included from ./include/private/gc_priv.h:66,
                 from allchblk.c:19:
./include/private/gcconfig.h:500: error: expected identifier or ‘(’ before
‘--’ token
make[3]: *** [allchblk.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

the configure command gave me this summary:

        mcs source:    $(top_srcdir)/mcs
        olive source:

    GC:           included
    GLIB:           system
    TLS:           pthread
    Engine:        Building and using the JIT
    2.0 Profile:   yes
    Moon Profile:  yes
    4.0 Alpha:     no
    MonoTouch:     no
    JNI support:   IKVM Native
    libgdiplus:    assumed to be installed
    zlib:          bundled zlib
    oprofile:      no
    BigArrays:     no
    DTrace:        no
    Parallel Mark: Disabled_Currently_Hangs_On_MacOSX
    LLVM Back End: no

and I took the tar.gz from

I saw this message from the "how to build from source

"If you wish to try the experimental 64-bit x86 support available in 2.7+
you should check out mono from svn and do:

  $ cd mono-trunk
  $ ./configure --prefix=DIR --with-glib=embedded --host=x86_64-apple-darwin10
  $ make
  $ make install


What should I do?
is it possible to have it 64 bits?

best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20100721/1eabbd4e/attachment.html 

More information about the Mono-list mailing list