dear patrick,
thanks for your respnse.
Patrick Galbraith via RT thus spoketh:
Show quoted text> So, I spent this weekend trying to get a working Solaris setup to test
> this. What kind of setup do you have? Is this sparc or intel? I might
> ask you how to reproduce your environment for my own testing and if you
> know of a good vmware image for solaris 10.
they are sparc systems running solaris 10 and using the sun compilers
("sun studio", formerly sunpro or spro, now "oracle solaris studio" :-)
at version 12.1. (i did not bother for an upgrade to 12.4, as my 12.1
installation is reasonably patched, and i have no longer access to
patches - that might be necessary to get 12.4 run properly.)
if you want to set up a virtual machine for this, you may have to go
for intel sparc - but this should behave reasonably same as far as it
does not get into the intracacies of hardware access. sorry, i can't
give hints for an image. you can download the software from
www.oracle.com/us/products/servers-storage/solaris/solaris10/ and
www.oracle.com/us/products/servers-storage/solaris/studio/, after
having registered, and use it "for developing your applications".
i'm ready for further questions :-)
kind regards,
fritz
ps. for the case in question, you could stick to, e.g., harbison /
steele, C - a reference manual, 5th ed., which documents c99 and it's
standard library, and where MIN() is not mentioned (nor is min()), and
so something like #ifndef MIN / #define MIN ... / #endif should be in
the code anyway.
--
Friedrich Haubensak hsk@fli-leibniz.de | Science is true!
Leibniz Institute for Age Research | Don't be mislead by facts.
- Fritz Lipmann Institute - +-----------------------------
Beutenbergstrasse 11, D-07745 Jena
phone +49-3641-65-6202 | fax -6210 |
http://www.fli-leibniz.de/