This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Delete GCJ
- From: Matthias Klose <doko at ubuntu dot com>
- To: Iain Sandoe <iain at codesourcery dot com>
- Cc: Mike Stump <mikestump at comcast dot net>, Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>, Jeff Law <law at redhat dot com>, Andrew Haley <aph at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, GCJ-patches <java-patches at gcc dot gnu dot org>, Sandra Loosemore <sandra at codesourcery dot com>
- Date: Mon, 21 Nov 2016 13:57:35 +0100
- Subject: Re: [PATCH] Delete GCJ
- Authentication-results: sourceware.org; auth=none
- References: <78f841e7-808b-58d0-7913-3ec0d19630a0@redhat.com> <ed89e6fc-8936-710a-5f52-9219c7235383@debian.org> <yddbmz0o6cs.fsf@CeBiTec.Uni-Bielefeld.DE> <4deb7e45-e428-d819-aabc-748abe8f7686@redhat.com> <0E421C5A-7EF5-4182-A13B-BF9AEAF90215@comcast.net> <6DA7C7D0-314E-4A5E-8B35-5A8EA2F74CD8@mentor.com> <c5c6794b-d73b-6898-1fef-95e8caacac28@redhat.com> <2b5de569-1efd-f407-49c2-c9fa84cc5315@ubuntu.com> <4964955d-4de1-618c-de41-835ca19f9932@ubuntu.com> <yddvax5a0og.fsf@CeBiTec.Uni-Bielefeld.DE> <4FBA6B16-460A-4EBB-8809-0883A84ABEB7@mentor.com> <0bf14402-d4e6-5fb0-8a63-479903ed2141@ubuntu.com> <yddr37ta01s.fsf@CeBiTec.Uni-Bielefeld.DE> <01B885DF-4340-43C6-A784-21326A9CA8CF@comcast.net> <10704c8f-fd72-8d13-17a1-f522e88345b2@ubuntu.com> <CDB6E3C7-0AB6-4394-BD88-D5AB2325DCE5@mentor.com> <31916070-ce2d-423a-e942-33f0b3ebc227@ubuntu.com> <6747724B-4128-4C55-8625-91AA559A0D98@mentor.com> <885027a6-080b-ec6f-89df-533be4132b36@ubuntu.com> <41C15B32-0659-49F2-A918-8A83623E4BF8@codesourcery.com>
On 21.11.2016 11:23, Iain Sandoe wrote:
>
>> On 20 Nov 2016, at 20:42, Matthias Klose <doko@ubuntu.com> wrote:
>>
>> On 10.10.2016 09:58, Iain Sandoe wrote:
>>>
>
>>> The point here was to simplify the dependent configury so that it only needs to test something that the configuring user specifies (i.e. if they specify objc-gc, then they need also to specify the place that the gc lib can be found).
>>
>> So here is the next proposal, I hope the added documentation in install.texi
>> makes the usage clear.
>
> thanks for working on this!
>
>>
>> <toplevel>
>>
>> 2016-11-19 Matthias Klose <doko@ubuntu.com>
>>
>> * Makefile.def: Remove reference to boehm-gc target module.
>> * configure.ac: Include pkg.m4, check for --with-target-bdw-gc
>> options and for the bdw-gc pkg-config module.
>> * configure: Regenerate.
>> * Makefile.in: Regenerate.
>
>
> +AC_ARG_ENABLE(objc-gc,
> +[AS_HELP_STRING([--enable-objc-gc],
> + [enable use of Boehm's garbage collector with the
> + GNU Objective-C runtime])])
> +AC_ARG_WITH([target-bdw-gc],
> +[AS_HELP_STRING([--with-target-bdw-gc=PATHLIST],
> + [specify prefix directory for installed bdw-gc package.
> + Equivalent to --with-bdw-gc-include=PATH/include
> + plus --with-bdw-gc-lib=PATH/lib])])
>
> missing “target” in the --with-bdw-gc-*
thanks, fixed.
>> gcc/
>>
>> 2016-11-19 Matthias Klose <doko@ubuntu.com>
>>
>> * doc/install.texi: Document configure options --enable-objc-gc
>> and --with-target-bdw-gc.
>
> As per Sandra’s comment, should we understand the priority of options is
>
> --with-target-bdw-gc-*
>
> which overrides…
>
> --with-target-bdw-gc=<list>
>
> which overrides automatic discovery using pkg_config?
--with-target-bdw-gc=/opt/bdw-gc,32=/opt/bdw-gc32
sets the include and lib dirs by appending include and lib to the paths. If you
have options --with-target-bdw-gc-include= and --with-target-bdw-gc-lib= as
well, it overrides the settings done in --with-target-bdw-gc=. This is copied
from the setting of the gmp/mpfr options.
Any of these options override the automatic discovery using pkg-config.
Please suggest a better wording; I thought that was clear enough (and better
than the undocumented --enable-libobjc-gc anyway ;)
Matthias