diff options
author | Jacob Bachmeyer <jcb62281+dev@gmail.com> | 2020-05-25 08:40:46 -0600 |
---|---|---|
committer | Rob Savoye <rob@senecass.com> | 2020-05-25 08:41:16 -0600 |
commit | ba60272a5ac6f6a7012acca03f596a6ed003f044 (patch) | |
tree | ed84e0a83109891d80382c9f7302270887b59aee /doc | |
parent | 93b882b9dfcc4f905ad0041a37f8899c22e9a3f8 (diff) | |
download | dejagnu-ba60272a5ac6f6a7012acca03f596a6ed003f044.zip dejagnu-ba60272a5ac6f6a7012acca03f596a6ed003f044.tar.gz dejagnu-ba60272a5ac6f6a7012acca03f596a6ed003f044.tar.bz2 |
Establish a default C compiler by evaluating [find_gcc] if no other compiler is given.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/dejagnu.texi | 6 |
1 files changed, 4 insertions, 2 deletions
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. |