From: Mike Frysinger <vapier@gentoo.org>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [commit/sim] Add `sim_complete_command' definition to erc32 sim
Date: Thu, 02 Jun 2011 17:10:00 -0000 [thread overview]
Message-ID: <201106021310.21922.vapier@gentoo.org> (raw)
In-Reply-To: <20110601185648.GA2661@adacore.com>
[-- Attachment #1: Type: Text/Plain, Size: 1725 bytes --]
On Wednesday, June 01, 2011 14:56:48 Joel Brobecker wrote:
> > i didnt build test it because i couldnt figure out how to even configure
> > for the target. i still dont ;).
> >
> > $ ./configure --target=erc32-elf
> > checking target system type... Invalid configuration `erc32-elf': machine
> > `erc32' not recognized
> > configure: error: /bin/sh ../../config.sub erc32-elf failed
>
> I wish we could add erc32-elf. Right now, the target is sparc-elf.
> I haven't done it because tools like config.sub don't support it yet.
> We could work on that, if it made sense.
thanks, sparc-elf got me much further. but it looks like the readline logic
in sim/erc32/configure is off because it link fails for me:
make[2]: Entering directory `/usr/local/src/gnu/sourceware/build/build-
erc32/sim/erc32'
gcc -DHAVE_CONFIG_H -DPROFILE=1 -DWITH_PROFILE=-1 -
DDEFAULT_INLINE=0 -DSTAT -DFAST_UART -DIUREV0 -DMECREV0 -I. -
I../../../../sim/erc32 -I../common -I../../../../sim/erc32/../common -
I../../include -I../../../../sim/erc32/../../include -I../../bfd -
I../../../../sim/erc32/../../bfd -I../../opcodes -
I../../../../sim/erc32/../../opcodes -g -O2 -o sis \
sis.o exec.o erc32.o func.o help.o float.o ../../bfd/libbfd.a
../../opcodes/libopcodes.a ../../libiberty/libiberty.a -lz -lnsl
../../readline/libreadline.a -lm
../../readline/libreadline.a(display.o): In function `cr':
/usr/local/src/gnu/sourceware/build/build-
erc32/readline/../../../readline/display.c:2486: undefined reference to
`tputs'
......
collect2: ld returned 1 exit status
make[2]: *** [sis] Error 1
manually tweaking the erc32 makefile to also link in -lcurses lets it get past
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2011-06-02 17:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-01 17:36 Joel Brobecker
2011-06-01 18:12 ` Mike Frysinger
2011-06-01 18:57 ` Joel Brobecker
2011-06-02 4:48 ` Ralf Corsepius
2011-06-02 17:10 ` Mike Frysinger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201106021310.21922.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox