Hello Xavier,

> Currently I am trying to compile the latest release of BRL-CAD (7.28.0) on
> IRIX. I have a couple of questions about the compilation process and
> hopefully the answers can help me to get it to build
>
> - Currently the main problems I seem to have with getting it to build come
> from libxml. Is it possible to disable the XML module from compiling? The
> cmake file seems to suggest so but I can't quite tell how.
>

First, check that the CMake variable BRLCAD_BUNDLED_LIBS is at least set to
AUTO.  Then, install libxml, libexslt, and libxslt (everything which
is included in the misc/tools/xmltools directory) from wherever it works.
After this, the build shouldn't touch the xmltools directory any more.
(Clean up the build directory before your next CMake run.)

The directories included in the BRLCAD_BUNDLED_LIBS build are written to
the SRC_OTHER_ADDED_DIRS CMake variable.


> - When cmake runs, it correctly detects the compiled as GCC 9.2 (a port to
> IRIX). However during the build process the build fails due to a compiler
> error. The make files generated by cmake are attempting to use a MIPSPro
> compiler flag (-rdata_shared) even though it detects the compiler as GCC
> 9.2. Would it be better to use something like GCC 4.2 (I think the last GCC
> that supported IRIX) or use MIPSPro?
>

Without having tested it, I'm afraid that gcc 4.2 won't work.  BRL_CAD uses
some recent C and C++ language features.  However, you could point CMake to
the IRIX gcc to use this instead and see what happens.

Regards,
    Daniel
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to