Hello, sorry for the late reply.

About compiling BRL-CAD on IRIX, you said that I could use my own versions of 
libxml. Would you possibly know what the minimum supported version of 
libxml/libxslt/libexslt would be? This would be helpful as we may already have 
a functional port.

Also, where are the pre-built versions of these libraries supposed to be 
installed? Am I supposed to set BRLCAD_BUNDLED_LIBS equal to the path where I 
installed these? Could you please clarify this a bit?

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: Daniel Ro?berg <[email protected]>
Sent: Wednesday, February 12, 2020 11:21:22 AM
To: BRL-CAD Developer Mailing List <[email protected]>
Subject: Re: [brlcad-devel] BRL-CAD compiling questions

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