No subject
Rumko
rumcic at gmail.com
Wed Dec 6 17:08:58 PST 2006
Hi!
I copied fenv from FreeBSD because it enabled me to compile qemu (with some
additional patches which have been already commited to pkgsrc or will be in
the near future).
Now ... this patch in it's current form does not contain the man pages yet
(will do that after everything else is good enough) and I had to comment out
a few lines in _types.h cause they were declared in other header files (for
example __time_t in sys/machine/pc32/include/_types.h and __clockid_t in
sys/sys/_types.h.
Also, from what I have understood from the FreeBSD implementation of fenv, it
seems to be cpu specific (FreeBSD seems to have different files for different
archs) and including fenv in libm was no problem since it has arch specific
files (src/lib/libm/arch/i386/...), but what about the fenv.h file? For now I
have put it directly into src/include since I couldn't find arch specific
headers for /usr/include (afaik fenv.h has to be present
at /usr/include/fenv.h), but when ports to different archs (like amd64)
start, we will probably need an arch specific /usr/include as well.
Instructions for patching:
(if I'll update the patch, it will be always at this address)
fetch http://www.rumko.net/dragonfly/fenv.diff && \
cd /usr/src && \
patch -p0 < /path/to/fenv.diff
Best would be to use make buildworld, but I would also like to hear about
results from quickworld (my testing was only using make buildworld).
Attachment:
pgp00003.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00003.pgp
Type: application/octet-stream
Size: 189 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20061206/0c4cd5f0/attachment-0018.obj>
More information about the Submit
mailing list