[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building for SH5
From: |
Stephen Thomas |
Subject: |
Building for SH5 |
Date: |
Wed, 15 May 2002 15:31:14 +0100 |
Hi,
I am trying to build binutils 2.12 for SH5 target, x86 Linux hosted, & I am
having a problem.
The configuration works OK (parameters to configure
are: --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=--target=sh
64-superh-linux-gnu). But the build fails when trying to link objdump with
the following error messages:
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o objdump
objdump.o prdbg.o rddbg.o debug.o stabs.o ieee.o rdcoff.o bucomm.o version.o
filemode.o ../opcodes/.libs/libopcodes.a ../bfd/.libs/libbfd.a
../libiberty/libiberty.a
bucomm.o: In function `make_tempname':
/export/home/linsvr4/thomass/download/binutils/b/binutils/../../binutils-020
514/binutils/bucomm.c:236: the use of `mktemp' is dangerous, better use
`mkstemp'
../opcodes/.libs/libopcodes.a(sh64-dis.o): In function
`sh64_get_contents_type_disasm':
/export/home/linsvr4/thomass/download/binutils/b/opcodes/../../binutils-0205
14/opcodes/sh64-dis.c:481: undefined reference to `sh64_get_contents_type'
/export/home/linsvr4/thomass/download/binutils/b/opcodes/../../binutils-0205
14/opcodes/sh64-dis.c:495: undefined reference to `sh64_get_contents_type'
The function sh64_get_contents_type is defined in bfd/elf32-sh64.c, but this
file does not get compiled. I poked around in the config files a bit, & it
looks like the problem might be that there is no 'sh64-*-linux*' case
bfd/config.bfd.
I also tried the latest snapshot (020514) but this has the same problem.
Thanks for any help you can give,
----------------------------------------------------------------------
Stephen R Thomas Email: address@hidden
SuperH (UK) Ltd Tel: 01454 462340
2430 Aztec West Mobile: 07973 867598
Almondsbury
Bristol BS32 4AQ
- Building for SH5,
Stephen Thomas <=