From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5049 invoked by alias); 17 Feb 2015 09:19:34 -0000 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 Received: (qmail 4922 invoked by uid 89); 17 Feb 2015 09:19:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 17 Feb 2015 09:19:32 +0000 Received: from vapier (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 2FAD4340865; Tue, 17 Feb 2015 09:19:30 +0000 (UTC) Date: Tue, 17 Feb 2015 09:19:00 -0000 From: Mike Frysinger To: Jiri Gaisler Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 11/23] sim/erc32: use AC_C_BIGENDIAN to probe for host endian. Message-ID: <20150217091929.GO20008@vapier> Mail-Followup-To: Jiri Gaisler , gdb-patches@sourceware.org References: <1424159099-5148-1-git-send-email-jiri@gaisler.se> <1424159099-5148-12-git-send-email-jiri@gaisler.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7pXD3OQNRL3RjWCz" Content-Disposition: inline In-Reply-To: <1424159099-5148-12-git-send-email-jiri@gaisler.se> X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00416.txt.bz2 --7pXD3OQNRL3RjWCz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 949 On 17 Feb 2015 08:44, Jiri Gaisler wrote: > Use AC_C_BIGENDIAN to probe for host endian during build, rather the sim tree provides SIM_AC_OPTION_HOSTENDIAN which you should use instead= .=20=20 then you can use WITH_HOST_BYTE_ORDER in the source and compare it to=20 LITTLE_ENDIAN or BIG_ENDIAN. just include for it. > --- a/sim/erc32/Makefile.in > +++ b/sim/erc32/Makefile.in >=20=20 > # Circumvent Sun Make bug with VPATH. > -erc32.o: erc32.c sis.h end.h > -exec.o: exec.c sis.h end.h > -float.o: float.c sis.h end.h > -func.o: func.c sis.h end.h > -help.o: help.c sis.h end.h > -interf.o: interf.c sis.h end.h=20 > -sis.o: sis.c sis.h end.h > +erc32.o: erc32.c sis.h > +exec.o: exec.c sis.h > +float.o: float.c sis.h > +func.o: func.c sis.h > +help.o: help.c sis.h > +interf.o: interf.c sis.h > +sis.o: sis.c sis.h you should be able to delete all this stuff. the build system will generat= e the=20 deps for you now. -mike --7pXD3OQNRL3RjWCz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU4wehAAoJEEFjO5/oN/WBpbMP/Rx4X9Nc9lJ820Qw9HIZeuMT Uxth8ygmRAi2dl775xQI8mHDoHQSeCQKuHnLEOOBX/tNjF4VTUUeptN2dkRjRi6e 1XKwIDeRFODR6dDfKFEWm9xvQdLeuCrhXl0POPB3r/qdjROhQGDCcBO1Ya4xeKp7 rfFPdY/1naf/SwDRdduM8eK8ZZZf/Q6M4MbjOaVjTRdcwmKOHHb5Q/SAXwm572Ef ZN3lSPy9P7kwyY2QoUkjsNPDU38Pfd7LuIyCjyhUuZNxp/hRg6JEdiGnUyKDsNfV glKG71/j6VObNDiwM41d4+YbdINAQNoGmUymdipjvjpWB4IyvkkNp4vrYvGFPX+h oIKBq1rEQ2I9Dxlfm6FtrfRZqGzOT1aVSOUD/UFGqlrl8i/amGC0cr5ignLU5ILb AaNzwbEHqmTs8OwGgr0RSWNaHjwa8XZbMDkECU5pVLXUTAVbvymjb0BeId9qjYnS cTpY9LOQ49CtvHm1D9QIyoQjEyJI5NHsTNtjrs+KGVpbD/foEYZdunK/ePopt5Nh 4zGaLJqZMkmwn0Sebb+7XyRm9u9aJELd9aV6HJ+ZWbrcGN7iYI6dV+i6Ha10wWa0 daHodxIsJSJ+c1B0r/zEPewAKgxWec/s5NXNVJoo5EotFZF6gi4bG+qpCOfvgX4v ZdKq1fahJ2VOkeAMZ3dF =oi5E -----END PGP SIGNATURE----- --7pXD3OQNRL3RjWCz--