From ba60272a5ac6f6a7012acca03f596a6ed003f044 Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Mon, 25 May 2020 08:40:46 -0600 Subject: Establish a default C compiler by evaluating [find_gcc] if no other compiler is given. --- doc/dejagnu.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/dejagnu.texi b/doc/dejagnu.texi index 4247f52..34b11a1 100644 --- a/doc/dejagnu.texi +++ b/doc/dejagnu.texi @@ -1424,7 +1424,8 @@ There are five helper procedures used in this example: @code{find_gcc} looks for a copy of the GNU compiler in your build tree, or it uses the one in your path. This will also return the proper transformed name for a cross compiler if you whole build tree -is configured for one. +is configured for one. DejaGnu will use this procedure to locate a +compiler if the @code{compiler} field is not set. @item @code{libgloss_include_flags} returns the flags to compile using @@ -1965,7 +1966,8 @@ load_generic_config "sim" load_base_board_description "basic-sim" # The compiler used to build for this board. This has *nothing* to do -# with what compiler is tested if we're testing gcc. +# with what compiler is tested if we're testing gcc. Further, this is +# the default, so this line is optional for most boards. set_board_info compiler "[find_gcc]" # We only support newlib on this target. -- cgit v1.1