Re: [Gc]: mingw32ce patch
ivmai at mail.ru
Wed Sep 30 07:06:44 PDT 2009
"Vincent R." <forumer at smartmobili.com> wrote:
> >> ./configure --host=arm-mingw32ce
> >> make
> > I guess configure.ac needs polishing - check whether -DUSE_MUNMAP,
> > -DTHREAD_LOCAL_ALLOC, -DPARALLEL_MARK appear in the Makefile (provided
> > --enable-parallel-mark and friends are specified respectively).
> So when you compile it with mingw32ce or cegcc what command line are you
> using exactly ?
Depends on configure options (type --help but may be outdated):
--enable-threads -> -DGC_THREADS
--enable-parallel-mark -> -DPARALLEL_MARK (this will for ARM v6+ only, should be desabled by default)
--enable-shared -> -shared -DGC_DLL -o gc.dll (may work w/o GC_DLL but exports internals, GC_DLL shouldn't be used if --enable-static)
--enable-gcj-support -> -DGC_GCJ_SUPPORT
--enable-munmap -> -DUSE_MUNMAP (may also include -DUSE_MMAP - no difference for Win32)
--enable-munmap=<n> -> -DUSE_MUNMAP -DMUNMAP_THRESHOLD=<n>
--enable-large-config -> -DLARGE_CONFIG
--enable-atomic-uncollectible -> -DATOMIC_UNCOLLECTABLE
--enable-java-finalization -> -DJAVA_FINALIZATION
--enable-gc-assertions -> -DGC_ASSERTIONS [-DKEEP_BACK_PTRS] [-DDBG_HDRS_ALL] [-DMAKE_BACK_GRAPH]
Other macros for which there is no config option yet:
-DNO_DEBUGGING -DNDEBUG (for release code)
-DTHREAD_LOCAL_ALLOC (there should be --enable/disable-thread-local-alloc, enabled by default).
See help on these and other control macros in Makefile.direct.
More information about the Gc