📄 readme.autoconf
字号:
As of GC6.0alpha8, we attempt to support GNU-style builds based on automake,autoconf and libtool. This is based almost entirely on Tom Tromey's workwith gcj.To build and install libraries useconfigure; make; make installThe advantages of this process are:1) It should eventually do a better job of automatically determining theright compiler to use, etc. It probably already does in some cases.2) It tries to automatically set a good set of default GC parameters forthe platform (e.g. thread support). It provides an easier way to configuresome of the others.3) It integrates better with other projects using a GNU-style build process.4) It builds both dynamic and static libraries.The known disadvantages are:1) The build scripts are much more complex and harder to debug (though largelystandard). I don't understand them all, and there's probably lots of redundantstuff.2) It probably doesn't work on all Un*x-like platforms yet. It probably willnever work on the rest.3) The scripts are not yet complete. Some of the standard GNU targets don'tyet work. (Corrections/additions are very welcome.)The distribution should contain all files needed to run "configure" and "make",as well as the sources needed to regenerate the derived files. (If I missedsome, please let me know.)Note that the distribution comes with a "Makefile" which will be overwrittenby "configure" with one that is not at all equiavelent to the original. Thedistribution contains a copy of the original "Makefile" in "Makefile.direct". Important options to configure: --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [same as prefix] --enable-threads=TYPE choose threading package --enable-parallel-mark parallelize marking and free list construction --enable-full-debug include full support for pointer backtracing etc.Unless --prefix is set (or --exec-prefix or one of the more obscure options),make install will install libgc.a and libgc.so in /usr/local/bin, whichwould typically require the "make install" to be run as root.Most commonly --enable-threads=posix or will be needed. --enable-parallel-markis recommended for multiprocessors if it is supported on the platform.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -