Re: Question on building 32-bit octave

Markus Mützel <[email protected]> Mon, 4 Apr 2022 16:27:31 +0200
Newsgroups gmane.comp.gnu.octave.general
Message-ID <trinity-233d3735-91c2-4b37-9560-814b283f58b6-1649082451163@3c-app-gmx-bap02>
Am 04. April 2022 um 14:17 Uhr schrieb "John Ferreira":
> Hello,
> I have a 32 bit legacy application that uses octave for matrix multiplication. We are migrating from RHEL 6 to RHEL 7. On RHEL 7, there doesn't seem to be an octave.i686 binary available in any repository. Is it possible for me to build from source a 32 bit version of octave that will run on RHEL 7?
> 
> Thank you very much,
> John F.
> ----------
> We are transitioning to a web based forum for community help discussions at https://octave.discourse.group/c/help

In principle, it should be possible to compile Octave for 32-bit hosts (bare metal or emulated). (We are still doing that for 32-bit Windows with MXE Octave.)
You'd need to have access to a (cross-)compiler that supports C++11 (GCC 4.8 or newer?).
You'd also need all dependencies for the same host platform.
General build instructions are on the Wiki:
https://wiki.octave.org/Building

HTH,
Markus



----------
We are transitioning to a web based forum
for community help discussions at
https://octave.discourse.group/c/help