This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, M2] introduction of --enable-libm2 in top level directory
- From: Gaius Mulley <gaius dot mulley at southwales dot ac dot uk>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 19 Nov 2013 18:43:33 +0000
- Subject: Re: [PATCH, M2] introduction of --enable-libm2 in top level directory
- Authentication-results: sourceware.org; auth=none
- References: <878uwkqvbv dot fsf at j228-gm dot comp dot glam dot ac dot uk> <Pine dot LNX dot 4 dot 64 dot 1311191645390 dot 534 at digraph dot polyomino dot org dot uk>
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> On Tue, 19 Nov 2013, Gaius Mulley wrote:
>
> We don't use --enable-<library> options like that. Instead:
>
> (a) The front end's config-lang.in file sets target_libs, thereby causing
> the library to be disabled if the language is. Of course this means you
> don't actually add the library before the front end - but these build
> rules are harmless in the absence of the library directory. (In some
> cases, additional toplevel logic is needed - see how libitm etc. are
> disabled when C++ isn't built - but that shouldn't be relevant here.)
ok thanks for directions - I'll resubmit these patches when the front
end is in the tree.
regards,
Gaius