From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31815 invoked by alias); 2 Jun 2011 17:10:36 -0000 Received: (qmail 31805 invoked by uid 22791); 2 Jun 2011 17:10:35 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Jun 2011 17:10:19 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id EACE01B401A; Thu, 2 Jun 2011 17:10:18 +0000 (UTC) From: Mike Frysinger To: Joel Brobecker Subject: Re: [commit/sim] Add `sim_complete_command' definition to erc32 sim Date: Thu, 02 Jun 2011 17:10:00 -0000 User-Agent: KMail/1.13.7 (Linux/2.6.39; KDE/4.6.3; x86_64; ; ) Cc: gdb-patches@sourceware.org References: <1306949738-1783-1-git-send-email-brobecker@adacore.com> <201106011412.02488.vapier@gentoo.org> <20110601185648.GA2661@adacore.com> In-Reply-To: <20110601185648.GA2661@adacore.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2980085.LWlyQSSmBK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201106021310.21922.vapier@gentoo.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-06/txt/msg00027.txt.bz2 --nextPart2980085.LWlyQSSmBK Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 1717 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 ;). > >=20 > > $ ./configure --target=3Derc32-elf > > checking target system type... Invalid configuration `erc32-elf': machi= ne > > `erc32' not recognized > > configure: error: /bin/sh ../../config.sub erc32-elf failed >=20 > 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 logi= c=20 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=3D1 -DWITH_PROFILE=3D-1 - DDEFAULT_INLINE=3D0 -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=20 ../../opcodes/libopcodes.a ../../libiberty/libiberty.a -lz -lnsl=20=20 ../../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=20 `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 p= ast -mike --nextPart2980085.LWlyQSSmBK Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJN58P9AAoJEEFjO5/oN/WBmZ0P/0k7ggivPP1kE0ZKHPWfodJ/ y6oUzAcLQG052gK8d+1jq4xbzGuIRWLQEJCfLjhbBtdWQZhiirx6ngKV5hjvZIXE S5Km4Vcojojj4L5mF1fq4T6hKg5iSfWyfmW3DkBYFeUgbP9GbdVhu6BtHdkU9Rp5 3pOWJ3d3tCoGBHXcQfmcpzFC0W2UawH+Kfr4+vKld9wk1YLtzdQoOMBtMXt5heFW hCWw7tdyeI+U7KTOTjDK/IBd6Y/tN2pTCZIfE9yTgnxCOy4AHvY1Afvaz2JluDMd TWwK4b8ZsqIsLqzSoTptK4sORz+y4OW8ulVRuQYMoYAogYKGbJ8wo+cqqNJrTgVl AOcIgbTHW1dK+s30BelnJ+To3TbbamavthX+ghmxGYMGuUPjBvLnid+5QWDGqUZP nEzBbdpYD8lXJ+5HxEkeeUkSU1sNFmUB3/1pgfrKudqkHUS6KrQ274DE+dL7hJrl Kj9m+GobmhpseEwNWuOphBJ4ZfxUn6lSRGMTayxNzurw9fMroXNb65+A3h3kdtPD C/bEq4ldt/s3t1XzgvUHFq/rBveXoVGHtUB5MphhjhT2+u9gofrvv7U+hNNaau/8 SWqQuemcY/VHQAxNb4hNoGh4BlJ0V+Fcz/r7xit6eyAp8qB7VWYaWGZmGMLnxUzy T+iybKSudsd1xrPN5Uew =FVcB -----END PGP SIGNATURE----- --nextPart2980085.LWlyQSSmBK--