Re: Question on building 32-bit octave

Markus Mützel <[email protected]> Wed, 6 Apr 2022 18:16:28 +0200
Newsgroups gmane.comp.gnu.octave.general
Message-ID <trinity-44007e2d-7344-4ab4-b7a6-38a8af5ace5c-1649261788210@3c-app-gmx-bap26>
Please, keep the mailing list in CC.

All libraries that that hypothetical 32-bit Octave links to must also be 32-bit.

Is it possible to install Fedora packages on RHEL?
They are still packaging 32-bit versions of Octave. E.g. the i686 builds here:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1853207

I don't have access to these pages by RedHat on this topic. But maybe you do, and they might be helpful:
https://access.redhat.com/solutions/509373
https://access.redhat.com/solutions/55888

HTH,
Markus


Am 06. April 2022 um 16:44 Uhr schrieb "John Ferreira":
> Hi Markus,
> Just one final question. When building octave as 32 bit would I also need its dependencies to be 32 bit packages as well or can they be the 64 bit versions and the compiler handles building the final artifact as 32 bit.
> Sorry, I am a novice with gcc as I am primarily a Java developer.
> 
> Thank you,
> John F
> 
> > On Apr 5, 2022, at 9:31 AM, John Ferreira <[email protected]> wrote:
> > 
> > Ok thanks. I’m gonna give it a shot.
> > John F
> > 
> > Sent from my iPhone
> > 
> >> On Apr 4, 2022, at 10:27 AM, Markus Mützel <[email protected]> wrote:
> >> 
> >> 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