On 22 Dec, Alex Sutcliffe wrote:
>  I am trying to compile and run a c/c++ program on my woody box. It  
>  compiles fine but when I run it, it dies with a floating point error.  
>  Admittedly there are several compiler warnings. I have succesfully  
>  compiled and run it on an SGI o2 running irix 6.5. There is a vendor  
>  supplied makefile with suggested flags for different platforms. I have  
>  heard reports that by simply using the suggestions one can get this  
>  thing to work on Mandrake 9.1. 

If the warnings related to arithmetic operations, then they're probably
significant.
 
>  So what differences between woody and mandrake 9.1 should I explore? 

gcc version differences; glib version differences.

>  Also, the vendor of this thing is fairly sgi centric. What sort of  
>  portability problems do I need to consider? 

I wouldn't be surprised if the SGI used quite different floating point
hardware, and they may have written their code non-portably.  Do they
formally support Linux?  Have you tried a Google search to see if
others have had the same problem?

luke

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to