This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch: a few Makefile improvements for egcs
- To: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Subject: Re: patch: a few Makefile improvements for egcs
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 25 Jun 1998 00:35:00 -0600
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
[ An old patch.... ]
In message <oru387zyaa.fsf@solimoes.dcc.unicamp.br>you write:
> --Multipart_Sun_Apr__5_19:41:49_1998-1
> Content-Type: application/octet-stream; type=patch
> Content-Disposition: attachment; filename="checkmulti.diff"
> Content-Transfer-Encoding: 7bit
>
> * Makefile.in (FLAGS_TO_PASS): pass CHECK_MULTI on
> * gcc/Makefile.in (SET_TARGET_BOARD): new variable: if
> CHECK_MULTI is not empty nor `n' nor `no', sets target_board
> to unix{...}, where `...' expands to a comma-separated list of
> multilib options.
> (TARGET_BOARD): new variable: expands to --target_board
> "$target_board", iff target_board is set
> (check-g++, check-gcc, check_g77): use SET_TARGET_BOARD and
> TARGET_BOARD
Thinking more about this, I think this is the wrong approach. The
whole point behind the global site.exp is to provide this kind of
information (whether or not to check multilibs, which multilibs).
It's also wrong to assume that multilibs are a "unix" thing; in fact
they're most often used on non-unix platforms.
jeff