Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* A fix for what ails you (fpe with Mesa/OpenGL demos fixed)
@ 1999-02-18 23:44 Daniel J. Frasnelli
  0 siblings, 0 replies; only message in thread
From: Daniel J. Frasnelli @ 1999-02-18 23:44 UTC (permalink / raw)
  To: axp-list

	You could say I'm a very happy hacker at the moment :-)
Took a look at the replies on axp-list regarding use of -mieee and 
libffm, made some changes to the Makefiles from Mesa-3.1beta1, rebuilt and
installed.  To make a long moment of elation shorter, all the GL demos and
modes of xlockmore work perfectly now.

Here's the method to my madness:
1) Modified the linux-alpha-elf CFLAGS entry in Mesa-3.1/Make-config to
 read: 
"CFLAGS = -mieee -pipe -mcpu=ev56 -Wa,-m21164a -g -ansi -pedantic -fPIC 
          -D_XOPEN_SOURCE -DSHM" 
Obviously the debug flag and optimizations are at your own discretion.

2) Wrote a small script to place '-lffm' before '-lm' in the Makefiles.
 Fairly straightforward - e-mail me in private if you need some help here :-)

	I've not analyzed it enough to determine whether the success lay
in -mieee, -lffm, or both.  

	I rebuilt FlightGear with similar CFLAGS and ld preloading of
libffm; with the fixed Mesa libs installed, the characteristic splash 
screen now loads (it did not previously) but I still encounter a fpe at 
the same place as before.  I will try to go in-depth with the error
over the next couple days.

Best regards,
Daniel   

---


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-02-18 23:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-18 23:44 A fix for what ails you (fpe with Mesa/OpenGL demos fixed) Daniel J. Frasnelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox