DragonFly submit List (threaded) for 2006-12
DragonFly BSD
DragonFly submit List (threaded) for 2006-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[no subject]


From: Rumko <rumcic@xxxxxxxxx>
Date: Thu, 7 Dec 2006 02:03:06 +0100

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
Description: PGP signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]