[PATCH] hdf on amd64
Adriaan de Groot
adridg at cs.kun.nl
Fri Feb 6 09:38:28 PST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[CC to the amd64 list because it's particular to that platform; CC to KDE
because it's a dependency for their ports, which prevents the ports from
building on amd64.]
The attached patch adds support for the amd64 platform by introducing a new
machine definition. I hope I got it all right - in particular, the code
assumes that a fortran int can be cast to a pointer, so I _must_ define the
fortran int as long. I haven't checked if that is really the case, so while
the port may build now, it might not actually work.
The patch also augments the totally bogus
#if some-error-condition
Regular english text explaining the error.
#endif
(which gets you grand error messages from gcc like "Syntax error near "you".")
by the slightly less bogus
#if some-error-condition
#ifdef __GNUC__
#error English text
#else
Regular english text
#endif
#endif
It doesn't do so across all the platforms, though, so it could use some
augmentation itself.
- --
pub 1024D/FEA2A3FE 2002-06-18 Adriaan de Groot <groot at kde.org>
The users that I support would double-click on a landmine to see what it did.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFAI9DPdqzuAf6io/4RAh+cAJ4kBHZ/zxOET/jjjNlp3zXH9s692QCZASh1
ag4EUe15JFxXz7rBhPG+uXk=
=2U4b
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hdf.patch
Type: text/x-diff
Size: 2496 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20040206/bea8d40c/hdf.bin
More information about the freebsd-amd64
mailing list