This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: patch: a few Makefile improvements for egcs



[ 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]