Skip to contentSkip to conversation

gnu-c99-math.h file

Qemu-devel Ben Taylor 2 participants 2 messages Apr 26, 2006

lore
Share & tools
lore

Ben Taylor

author
#0 lore raw
Quoted 3 lines · ---- Chris Bagwell

I just upgraded to current CVS to get all the changes submitted today. The solaris port commits seems to have added a #include "gnu-c99-math.h" file to fpu/softfloat-native.h.

Apologies. That should have been isolated with a

#ifdef __sun__
#include "gnu-c99-math.h"
#endif

Quoted 5 lines

This file doesn't exist on my Fedora Core 5 system with gcc32 installed for compatibility. The mailing archive mentions something about this missing file being a custom file for the solaris port. Should that file only be referenced under solaris?

correct. I rechecked the patch I sent to Fabrice and the gnu-c99-math.h file is there.

Quoted 3 lines

Qemu appears to compile fine on linux if I just comment that line out.

Chris

The following patch and file will correct the issue for solaris and non-solaris system alike.

Fabrice - can we get this added to CVS?

Regards,

Ben

5a6

Quoted 1 line

#if !defined(_PRESOLARIS10)

7a9,12

Quoted 4 lines

#endif
#ifdef __sun__
#include "gnu-c99-math.h"
#endif

#1 lore raw
Quoted 9 lines · --- Ben Taylor

Apologies. That should have been isolated with a

#ifdef __sun__
#include "gnu-c99-math.h"
#endif

correct. I rechecked the patch I sent to Fabrice and the gnu-c99-math.h file is there.

please make sure if you use underscores or hyphens. softfloat-native.h includes gnu-c99-math.h, but the file attached to this mail was gnu_c99_math.h

Kind regards,
Sylvain Petreolle (aka Usurp)
--- --- --- --- --- --- --- --- --- --- --- --- ---
Listen to free Music: http://www.jamendo.com
Windows is proprietary, use free ReactOS instead : http://www.reactos.org