From: Joao C. <jc...@fe...> - 2003-03-15 01:19:58
|
On Saturday 15 March 2003 00:28, Rafael Laboissiere wrote: > * Rafael Laboissiere <lab...@ps...> [2003-03-14 22:48]: > > * Joao Cardoso <jc...@fe...> [2003-03-14 19:58]: > > > Please check in sysloc.in for mieee-fp and correct it so it becomes > > > "The Right Way To Do It" (TM - Rafael :) > > > > I am sorry, but in this case I do not now the Right Way (TM). Even in > > the GNU Autoconf Macro Archive (http://www.gnu.org/software/ac-archive/) > > there seems to be nothing regarding the cross-platform setting of the > > ieee compilation flag. > > I searched a little bit further and found the excerpt below in the > configure.in file of the GSL project (http://www.gnu.org/software/gsl/). > This autoconf code is doing pretty much the same thing as your code in > sysloc.in, besides an compilation exercise to check if the flags are really > accepted in the alpha architecture. hmm, I would like a better test, not just that the flag is accepted. > > The fact that the code below only acts on CFLAGS for the alpha architecture > is a good indication that your code in sysloc.in should work for all the > other architectures, since they do not seem to need special treatment > regarding the ieee flag. Well, I will trust them. Also, Octave deals with that issue the same way. If GSL copied the settings from Octave (I think Octave is older), and we now trust them both, who shall we blame in case we are wrong? we of course ;-) Thanks, Joao |