Re: [PATCH] Delete GCJ

Iain Sandoe <[email protected]> Mon, 21 Nov 2016 10:23:34 +0000
Newsgroups gmane.comp.gcc.java.patches,gmane.comp.gcc.patches
Message-ID <[email protected]>
> On 20 Nov 2016, at 20:42, Matthias Klose <[email protected]> wrote:
>=20
> On 10.10.2016 09:58, Iain Sandoe wrote:
>>=20

>> The point here was to simplify the dependent configury so that it only n=
eeds to test something that the configuring user specifies (i.e. if they sp=
ecify objc-gc, then they need also to specify the place that the gc lib can=
 be found).
>=20
> So here is the next proposal, I hope the added documentation in install.t=
exi
> makes the usage clear.

thanks for working on this!

>=20
> <toplevel>
>=20
> 2016-11-19  Matthias Klose  <[email protected]>
>=20
> 	* 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=3DPATHLIST],
+		[specify prefix directory for installed bdw-gc package.
+		 Equivalent to --with-bdw-gc-include=3DPATH/include
+		 plus --with-bdw-gc-lib=3DPATH/lib])])

missing =E2=80=9Ctarget=E2=80=9D in the --with-bdw-gc-*

>=20
> gcc/
>=20
> 2016-11-19  Matthias Klose  <[email protected]>
>=20
> 	* doc/install.texi: Document configure options --enable-objc-gc
> 	and --with-target-bdw-gc.

As per Sandra=E2=80=99s comment,  should we understand the priority of opti=
ons is

--with-target-bdw-gc-*

which overrides=E2=80=A6

--with-target-bdw-gc=3D<list>

which overrides automatic discovery using pkg_config?

Iain