File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ DejaGNU board for testing m68k-amigaos GCC
2
+ ---
3
+
4
+ * Download
5
+ [ gcc-testsuite] ( https://ftp.gnu.org/pub/gnu/gcc/gcc-3.0/gcc-testsuite-3.0.tar.gz )
6
+ and unpack into ` submodules/gcc-2.95.3 `
7
+ * Install [ amitools] ( https://github.com/cnvogelg/amitools/ ) and configure ` vamos `
8
+ * Configure DejaGNU board search path with ` $HOME/.dejagnurc ` containing:
9
+ ``` tcl
10
+ if ![info exists boards_dir] {
11
+ set boards_dir {}
12
+ }
13
+ lappend boards_dir "$HOME/workspace/amigaos-cross-toolchain/dejagnu/boards"
14
+ ```
15
+ * Run tests:
16
+ ```
17
+ $ cd .build-m68k/gcc-2.95.3/gcc
18
+ $ make check-gcc \
19
+ RUNTESTFLAGS='--target_board=amigaos execute.exp=20000113-1* -v SIM=vamos'
20
+ ```
Original file line number Diff line number Diff line change
1
+ # This is a list of toolchains that are supported on this board.
2
+ set_board_info target_install {m68k-amigaos}
3
+
4
+ # basic-sim.exp is a basic description for the standard Cygnus simulator.
5
+ load_base_board_description "basic-sim"
6
+
7
+ # Load the generic configuration for this board. This will define a basic
8
+ # set of routines needed by the tool to communicate with the board.
9
+ load_generic_config "sim"
10
+
11
+ # "vamos" is the name of the sim subdir.
12
+ setup_sim amigaos
13
+
14
+ # No multilib options needed by default.
15
+ process_multilib_options ""
16
+
17
+ set_board_info compiler "[find_gcc]"
18
+ set_board_info cflags "-noixemul"
19
+ set_board_info ldflags "-noixemul"
20
+ set_board_info ldscript "";
21
+
22
+ set_board_info sim vamos
23
+ set_board_info sim,options "-C 68020 -s 4096 -m 8192"
24
+ set_board_info gcc,stack_size 4096
25
+ set_board_info isremote 0
26
+ set_board_info slow_simulator 0
27
+
28
+ set_board_info gdb_protocol "remote"
29
+ set_board_info gdb,nosignals 1
30
+ set_board_info gdb,cannot_call_functions 1
31
+
32
+ set timeout 30
You can’t perform that action at this time.
0 commit comments