Shanti Subramanyam - PAE wrote:
> Alan Coopersmith wrote:
> > Jyri Virkki wrote:
[snip]
> > "-fast" is definitely wrong in anything you're publishing for others to
> > use.
> > It makes binaries tuned specifically for the hardware on your build machine
> > which may not even run on other machines, depending on what hardware your
> > build machine has.   The Studio compiler manuals on docs.sun.com are pretty
> > clear about this.
> 
> This is incorrect. Notice that -fast is followed by '-xtarget=generic'.
> This specifically removes any build machine hardware dependencies. We
> have worked with the compiler team to come up with these options for
> Cool Stack and haven't heard any complaints from any users (about not
> running on their machine).

Erm... "-fast" is a macro which includes an option which changes the
representation of the floating-point datatypes. As I said I would use it
if the whole Ruby codebase has been reviewed that it doesn't rely on any
IEEE 754 features or SIGFPE ... and if you intend to deliver shared
libraries which should be used by other applications a change of the
default floating-point representation won't work (see my other email
from today for a reason).

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to