search for: no_float_math_lib

Displaying 5 results from an estimated 5 matches for "no_float_math_lib".

2001 Mar 29
2
libvorbis: NO_FLOAT_MATH_LIB patch
This is in response to NO_FLOAT_MATH_LIB not getting set on Solaris. The patchlet below - makes configure check for sqrtf(), - defines HAVE_SQRTF if sqrtf() has been found, - uses HAVE_SQRTF in lib/os.h. NO_FLOAT_MATH_LIB isn't used any longer. --- configure.in.orig Fri Mar 30 02:02:35 2001 +++ configure.in Fri Mar 30 02:10:16 2001...
2001 Jun 27
1
Patch to get libvorbis 1.0b4 to build on Solaris 2.7
...PATH_OGG(LIBS="$LIBS $OGG_LIBS", AC_MSG_ERROR(must have Ogg installed!)) --- lib/os.h Sun Feb 25 22:37:59 2001 +++ ../../libvorbis-1.0beta4/lib/os.h Wed Jun 27 10:42:30 2001 @@ -38,19 +38,10 @@ #ifdef _WIN32 # include <malloc.h> # define rint(x) (floor((x)+0.5f)) -# define NO_FLOAT_MATH_LIB # define FAST_HYPOT(a, b) sqrt((a)*(a) + (b)*(b)) #endif -#ifndef __GNUC__ -# define NO_FLOAT_MATH_LIB -#endif - -#ifdef DARWIN -# define NO_FLOAT_MATH_LIB -#endif - -#ifndef NO_FLOAT_MATH_LIB +#ifdef HAVE_FLOAT_MATH_LIB # define sqrt sqrtf # define log logf # define exp expf --- >...
2001 Jan 29
1
Mac OS X/Darwin patch for libvorbis
..._ +#ifdef __GNUC__ +#define STIN static inline +#elif _WIN32 +#define STIN static __inline +#else +#define STIN static +#endif + #ifndef M_PI #define M_PI (3.1415926536f) #endif -#ifndef __GNUC__ + #ifdef _WIN32 # include <malloc.h> # define rint(x) (floor((x)+0.5f)) +# define NO_FLOAT_MATH_LIB +# define FAST_HYPOT(a, b) sqrt((a)*(a) + (b)*(b)) #endif -#define STIN static -#else -#define STIN static inline +#ifdef DARWIN +#define NO_FLOAT_MATH_LIB +#endif + +#ifndef NO_FLOAT_MATH_LIB #define sqrt sqrtf #define log logf #define exp expf @@ -48,9 +60,7 @@ #endif -#ifdef _WIN32 -...
2003 Mar 25
1
problems with beta4 encoder
Hi, Am trying to run beta4 encoder on a Sun machine. Want to compare floor0 and floor1. Do not have autoconf and automake. Got the encoder to compile with a simple makefile. The only define i am using is NO_FLOAT_MATH_LIB. The encoded file when played(winamp) gives out plain noise. Am i missing any other flags/defs? -Cathy <p>--------------------------------- Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! --- >8 ---- List archives: http://www.xiph.org/archives...
2001 Mar 04
3
Some comments about beta4
...ts in my tests so far, even at -b 112 (but I'm not a trained listener). Thanks for the great work! Now, some (mostly minor) points: When building libvorbis on either a Linux/libc5 or a Solaris system, both with gcc, it failed with undefined references to logf() etc. I worked around by setting NO_FLOAT_MATH_LIB in lib/os.h unconditionally. Of course, it would be better if the library would detect this automatically. How about an autoconf check for logf()? When building the libs on a foreign system without installing them in the system directories, I tried to configure libvorbis --with-ogg-prefix, but thi...