I've built Cascade libs on a SGI Octane R10000 in 64 bits mode. If someone's interested, I have the compilations scripts available. If really needed, I can build a web site with the binaries too (but this might take a really great amount of time to download : libs are 149Mb uncompressed).
64 bits libs might be faster because the R10000 and R12000 mips processor are true 64 bits processors.
It is good to see others doing porting, but my question is: does it run, or just compile?
The reason I ask is that there are a few places in the source where the assumption of 32-bit addresses are assumed when IRIX is defined by the preprocessor. If you don't make provisions for this you are likely to have problems when executing certain sections of code. You can check what is defined for DECOSF1 to see what may be different. The ultimate fix for these differences is to use Autoconf to test them before compiling, that way the Makefile can define preprocessor symbols to control how the code is compiled. While I did my best to make these changes, I have not done a 64 bit IRIX compile yet, so I could use a tester.
Check my link on the "Core Team" page for more information.
It compiles AND it runs ! I've built my application using Qt and Cascade in 64 bits. IGES Reading, Topo building and visualization seemed to work really good and quite fast.
But if there are parts of the code that might not run, maybe it's dangerous.... Anyway, my application is developped both on Linux and IRIX64. So I can test these problems as soon as I use some new functionnalities.
I've seen that there's an autoconf port for Cascade, but this meens getting a new cvs repository. My question is : is the autoconf-cascade repository as current as the original cascade repository. I meen, won't there be code differences. Usually, I update my Cascade sources once a day. How is the autoconf updated ?
I have put the compilation scripts and instructions for IRIX64 on the following web site : http://22.214.171.124/cascade (this works this time !).
You'll find compiled libarries too. The build is based on the CVS repository of last week.
Yes, the two repositories are a problem. I update my sources
with Matra's changes at least weekly. Most of the time it seems
that Matra's updates are done on a large scale, commiting many
files when a large chunk of work is complete. I don't think that
you would miss much by waiting a week at the most.
Do you actually recompile every time you get an update?
It can take all day, considering you don't have Makefiles, you
have to compile everything in any package that is dependent.
With the --enable-dependency-tracking option to configure
any header files that change will cause the source files that
include them to be compiled, with all the dependencies resolved
and accounted for. This way recompiling time is minimized.
> Do you actually recompile
> every time you get an update? It can take
> all day, considering you don't have
> Makefiles, you have to compile everything
> in any package that is dependent.
That is a problem, but generally, I lauch my builds during the night. So, when I come later, the compilation is done. It's sure the Makefile is much better, but it's very hard to have a good Makefile, especially when you have a very big application and you are adding routines very often.
> With the
> --enable-dependency-tracking option to
> configure any header files that change will
> cause the source files that include them to
> be compiled, with all the dependencies
> resolved and accounted for. This way
> recompiling time is minimized.
Another big problem is the compiling time and the compiling SIZE in IRIX. I don't know why, but compiling C++ is much much slower on an Octane R10000 than on a PIII600 (ther's no difference at all when compiling Fortran !). But when executing the binary, the execution time is as good in IRIX than in Linux.
I'm a newbie of Irix OS, and now I have a problem because I don't know how to install OpenCascade on SGI workstation. I read on the OCC forum that you overcame the problem by the use of ad-hoc scripts for IRIX. Can you help me in some way?? I'd like to install OCC in Irix 6.5 OS using the c ++ sgi compiler (CC).