System is a Celeron running FreeBSD 3.1. I had to make a couple of
changes
(below) to get it running. The first is to assy modules to have the
correct
global names with ELF format binaries. The second is to ignore overflow
FP exceptions that occur in these routines (eg. with the sproingies
screensaver). I believe linux masks these by default.

   Also I found I had to take out the -fomit-frame-pointer and 
-fexpensive-optimizations flags to get code to run.

Simon

------------
*** src/X86/assyntax.h.orig     Sun Oct  3 21:06:06 1999
--- src/X86/assyntax.h  Tue Oct  5 19:15:13 1999
***************
*** 234,242 ****
  #endif /* GNU_ASSEMBLER */
  #endif /* ACK_ASSEMBLER */
  
- 
  #if defined(Lynx) || (defined(SYSV) || defined(SVR4)) &&
!defined(ACK_ASSEMBLER) \
!  || (defined(linux) || defined(__OS2ELF__)) && defined(__ELF__)
  #define GLNAME(a)       a
  #else
  #define GLNAME(a)       CONCAT(_,a)
--- 234,242 ----
  #endif /* GNU_ASSEMBLER */
  #endif /* ACK_ASSEMBLER */
  
  #if defined(Lynx) || (defined(SYSV) || defined(SVR4)) &&
!defined(ACK_ASSEMBLER) \
!     || (defined(linux) || defined(__OS2ELF__)) && defined(__ELF__) \
!     || defined(__FreeBSD__) && __FreeBSD__ >= 3
  #define GLNAME(a)       a
  #else
  #define GLNAME(a)       CONCAT(_,a)
*** src/context.c.orig  Sun Sep 19 16:43:02 1999
--- src/context.c       Tue Oct  5 18:29:07 1999
***************
*** 43,48 ****
--- 43,49 ----
  #include <stdio.h>
  #include <stdlib.h>
  #include <string.h>
+ #include <floatingpoint.h>
  #include "accum.h"
  #include "alphabuf.h"
  #include "api.h"
***************
*** 309,314 ****
--- 310,316 ----
        gl_init_vbxform();
        gl_init_vertices();
        alreadyCalled = GL_TRUE;
+       fpsetmask (fpgetmask() & ~(FP_X_OFL | FP_X_IMP));
     }
  #if defined(DEBUG) && defined(__DATE__) && defined(__TIME__)
     fprintf(stderr, "Mesa DEBUG build %s %s\n", __DATE__, __TIME__);
smw@stepney<47>


_______________________________________________
Mesa-bug maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-bug


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to