64-bit support on OSX is only experimentally supported on SVN and Intel -g
On 2010-07-21, at 11:45 AM, Sylvain Pointeau wrote: > Hi, > > 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_TARNAME=\"libgc-mono\" -DPACKAGE_VERSION=\"6.6\" > -DPACKAGE_STRING=\"libgc-mono\ 6.6\" > -DPACKAGE_BUGREPORT=\"[email protected]\" -DGC_DARWIN_THREADS=1 > -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 > -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 > -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 > -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 > -D_IN_LIBGC=1 -I./.. -I./.. -I./include -no-cpp-precomp -D_THREAD_SAFE > -DGC_MACOSX_THREADS -DPLATFORM_MACOSX -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\"" > -DPACKAGE_BUGREPORT=\"[email protected]\" -DGC_DARWIN_THREADS=1 > -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 > -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 > -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 > -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 > -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 > -D_IN_LIBGC=1 -I./.. -I./.. -I./include -no-cpp-precomp -D_THREAD_SAFE > -DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP > -DGetCurrentProcess=MonoGetCurrentProcess > -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 > SIGALTSTACK: no > 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 > http://mono.ximian.com/monobuild/snapshot/snapshot_sources/mono/mono-142439.tar.bz2 > > I saw this message from the "how to build from source MACOSX" > "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, > Sylvain > > > > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
