DejaGNU board for testing m68k-amigaos GCC
This commit is contained in:
parent
15aec2ff9d
commit
4ca4a90197
|
@ -0,0 +1,20 @@
|
||||||
|
DejaGNU board for testing m68k-amigaos GCC
|
||||||
|
---
|
||||||
|
|
||||||
|
* Download
|
||||||
|
[gcc-testsuite](https://ftp.gnu.org/pub/gnu/gcc/gcc-3.0/gcc-testsuite-3.0.tar.gz)
|
||||||
|
and unpack into `submodules/gcc-2.95.3`
|
||||||
|
* Install [amitools](https://github.com/cnvogelg/amitools/) and configure `vamos`
|
||||||
|
* Configure DejaGNU board search path with `$HOME/.dejagnurc` containing:
|
||||||
|
```tcl
|
||||||
|
if ![info exists boards_dir] {
|
||||||
|
set boards_dir {}
|
||||||
|
}
|
||||||
|
lappend boards_dir "$HOME/workspace/amigaos-cross-toolchain/dejagnu/boards"
|
||||||
|
```
|
||||||
|
* Run tests:
|
||||||
|
```
|
||||||
|
$ cd .build-m68k/gcc-2.95.3/gcc
|
||||||
|
$ make check-gcc \
|
||||||
|
RUNTESTFLAGS='--target_board=amigaos execute.exp=20000113-1* -v SIM=vamos'
|
||||||
|
```
|
|
@ -0,0 +1,32 @@
|
||||||
|
# This is a list of toolchains that are supported on this board.
|
||||||
|
set_board_info target_install {m68k-amigaos}
|
||||||
|
|
||||||
|
# basic-sim.exp is a basic description for the standard Cygnus simulator.
|
||||||
|
load_base_board_description "basic-sim"
|
||||||
|
|
||||||
|
# Load the generic configuration for this board. This will define a basic
|
||||||
|
# set of routines needed by the tool to communicate with the board.
|
||||||
|
load_generic_config "sim"
|
||||||
|
|
||||||
|
# "vamos" is the name of the sim subdir.
|
||||||
|
setup_sim amigaos
|
||||||
|
|
||||||
|
# No multilib options needed by default.
|
||||||
|
process_multilib_options ""
|
||||||
|
|
||||||
|
set_board_info compiler "[find_gcc]"
|
||||||
|
set_board_info cflags "-noixemul"
|
||||||
|
set_board_info ldflags "-noixemul"
|
||||||
|
set_board_info ldscript "";
|
||||||
|
|
||||||
|
set_board_info sim vamos
|
||||||
|
set_board_info sim,options "-C 68020 -s 4096 -m 8192"
|
||||||
|
set_board_info gcc,stack_size 4096
|
||||||
|
set_board_info isremote 0
|
||||||
|
set_board_info slow_simulator 0
|
||||||
|
|
||||||
|
set_board_info gdb_protocol "remote"
|
||||||
|
set_board_info gdb,nosignals 1
|
||||||
|
set_board_info gdb,cannot_call_functions 1
|
||||||
|
|
||||||
|
set timeout 30
|
Loading…
Reference in New Issue