This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: Help with binutils testsuite
- From: Fabio ARNONE <fabio dot arnone at st dot com>
- To: "'Joseph S. Myers'" <joseph at codesourcery dot com>
- Cc: <binutils at sourceware dot org>
- Date: Wed, 25 Jun 2008 12:27:32 +0200
- Subject: RE: Help with binutils testsuite
Hi Joseph,
sorry for my poor details (and trivial questions); but I'm new with
binutils.
- my build system (on which I run "runtest") is the linux PC
- my host system (on which the binutils testing run) is the SH4 board
- the target system is the SH4 board
(at any rate, I have a cross compiler too and I could switch to my linux
PC)
I run the following cmd:
runtest --build i686-pc-linux-gnu --host sh4-unknown-linux-gnu --tool
binutils --srcdir
/export/project/arnonef/binutils-stuff/binutils-2.18/binutils/testsuite
--host_board=sh_linux --target_board=sh_linux objcopy.exp
- 10 tests pass, and 10 fails due to "no such file" in tmpdir
and 1 is unresolved
(tmpdir is created by testsuite in my build system linux PC; but I didn't
found it in the host system SH4)
---------------------------------------------
My sh_linux.exp contains the following lines:
set_board_info shell_prompt "remote:"
set_board_info username "root"
set_board_info rhs_prog "/usr/bin/ssh"
set_board_info hostname <my SH4 IP addr>
set_board_info compiler sh4-linux-gcc
---------------------------------------------
thanks a lot
Fabio
-----Original Message-----
From: Joseph S. Myers [mailto:joseph@codesourcery.com]
Sent: Monday, June 23, 2008 12:48 PM
To: Fabio ARNONE
Cc: binutils@sourceware.org
Subject: Re: Help with binutils testsuite
On Mon, 23 Jun 2008, Fabio ARNONE wrote:
> Hello,
> I'm wrestling with dejagnu/binutils testsuite.
>
> My enviroment is composed of:
> - linux host PC (SH4 cross compiler)
> - target SH4 board (sh4-linux-gcc)
> - NFS
This is not an adequate description of the environment.
What is the build system (the system on which you run the "runtest" or "make
check" command)?
What is the host system (the system on which the binutils programs you are
testing themselves run)?
What is the target system (the system for which those binutils programs
generate code)?
What --host_board argument do you pass to runtest?
What --target_board argument do you pass to runtest?
>From the information you give, I cannot figure out whether the host is the
build system, the target system or neither.
--
Joseph S. Myers
joseph@codesourcery.com