Re: base not detecting Double/Float machine sizes (QNXNTO)

Stephen Paul Weber <[email protected]> Mon, 7 Jan 2013 12:17:41 -0500
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <20130107171741.GI1846@singpolyma-svelti>
--===============2362764302384174299==
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="IbVRjBtIbJdbeK1C"
Content-Disposition: inline


--IbVRjBtIbJdbeK1C
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Somebody signing messages as Stephen Paul Weber wrote:
>Somebody signing messages as Stephen Paul Weber wrote:
>>Somebody claiming to be Ian Lynagh wrote:
>>>On Thu, Dec 20, 2012 at 01:20:46PM -0500, Stephen Paul Weber wrote:
>>>>Somebody claiming to be Stephen Paul Weber wrote:
>>>>>libraries/base/Foreign/C/Types.hs:162:25:
>>>Do you know why the test is failing?
>>
>So, it may be the way that the internal autoconf check works for=20
>cross-compiling violates an assumption about how that macro works.

Indeed.  <http://stackoverflow.com/a/14200277/8611> confirms that the way=
=20
this macro works for cros-compiling will not work for floating point types.

I think my vote would be to restructure the checks such that non-integral=
=20
types are specially handled.

--=20
Stephen Paul Weber, @singpolyma
See <http://singpolyma.net> for how I prefer to be contacted
edition right joseph

--IbVRjBtIbJdbeK1C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJQ6wM0AAoJENEcKRHOUZzeycoP/12rHZ+yzPBgNvU+YtYYK4DV
h+UvDD1QtpB8h4A4oJ6MYIhX/7A1k9QdIWmByqVP2wknGi7KhIllf4Nn2XFbyhBX
Z+FM5J4syURw1n6WkmhfjM1TR9FZ2/kP66mYsWqjuSOfve5HGAPAOn1loxUAF7ef
AruZKVGGgjYhTrOiZLnrNjy/jcbueXpgQyOsDcxyuuYI9vcgOsOHgYvMnJI8BYLA
sufSwYQ974BsrqMKzNgtzfqmlckboD5IOQugpGReX+7lQxYA5fNDQMBdHS2eq+aN
3APb+aaFmwR8qDV2ihpBDsjKGYT2v7qgEGhTWBPBlwwmnkWBJ7G2OCBmrXKVrYLp
LdvMxDKWScFClXmO+CHLRqMFb7tt/Jh3rUuqMQbtBDNWCegoLP6Ge9CWn0j8+3dI
8NS4aJm+DdpHmepqdZRWmZrkdX3RhnyohL0kSv2ToojBru+6hE1g3SqgmmSYfp5K
5H58NQAz6nxqB5UaKzb7eleWSEzO88D3j4OSUq2NB6GKgdUwT4MKVgv2E1Bwd+x/
pmKsUrtLpuu1yiQnVbS0EiVZoZyCwOUswWoJANC2QYL84K4OS1eXlDI8KWlUQ43N
yFbBL2XCfCRkD3j63K5ST1GWZfNFh4kwBlOtqmZ/wXrK/p3Oi07yCIrDop52tfH/
befpX5GMfE6xzO6XsVgB
=wFqE
-----END PGP SIGNATURE-----

--IbVRjBtIbJdbeK1C--


--===============2362764302384174299==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

--===============2362764302384174299==--