/[dejagnu]/dejagnu/baseboards/mips-sim.exp
ViewVC logotype

Diff of /dejagnu/baseboards/mips-sim.exp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by rsavoye, Mon Jul 28 14:45:35 2003 UTC revision 1.3 by bje, Thu Aug 7 03:42:42 2003 UTC
# Line 1  Line 1 
1  # Load the generic configuration for this board. This will define a basic  # Load the generic configuration for this board. This will define a basic
2  # set of routines needed by the tool to communicate with the board.  # set of routines needed by the tool to communicate with the board.
3  load_generic_config "sim";  load_generic_config "sim"
4    
5  # basic-sim.exp is a basic description for the standard Cygnus simulator.  # basic-sim.exp is a basic description for the standard Cygnus simulator.
6  load_base_board_description "basic-sim";  load_base_board_description "basic-sim"
7    
8  # This tells it which directory to look in for the simulator.  # This tells it which directory to look in for the simulator.
9  setup_sim mips;  setup_sim mips
10    
11  # No multilib flags are set by default.  # No multilib flags are set by default.
12  process_multilib_options "";  process_multilib_options ""
13    
14  # The compiler used to build for this board. This has *nothing* to do  # The compiler used to build for this board. This has *nothing* to do
15  # with what compiler is tested if we're testing gcc.  # with what compiler is tested if we're testing gcc.
16  set_board_info compiler "[find_gcc]";  set_board_info compiler "[find_gcc]"
17    
18  set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]";  set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"
19  set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]";  set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
20    
21  # Use idt.  # Use idt.
22  if { [board_info $board obj_format] == "ecoff" } {  if { [board_info $board obj_format] == "ecoff" } {
23      set_board_info ldscript "-Tidtecoff.ld";      set_board_info ldscript "-Tidtecoff.ld"
24  } else {  } else {
25      set_board_info ldscript "-Tidt.ld";      set_board_info ldscript "-Tidt.ld"
26  }  }
27    
28  # And, it can't do arguments, and doesn't have real signals.  # And, it can't do arguments, and doesn't have real signals.
29  set_board_info noargs 1;  set_board_info noargs 1
30  set_board_info gdb,nosignals 1;  set_board_info gdb,nosignals 1

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26