Porting the arm-linux-g++ to RHEL

Ask questions about Arch Linux ARM. Please search before making a new topic.

Porting the arm-linux-g++ to RHEL

Postby vijay » Tue Jul 18, 2017 6:21 am

Hi,

We have a requirement to port the existing fedora based Dev environment to RHEL 7 64bit.
Since I'm very new to this ARM compiles and cross compiling I want to understand how to proceed.
Our Code is written in c++, we are using the arm-linux-g++ (version 3) compiler 32bit to compile the Code. We are using very old Feroda 6.0. Our application is a 32bit application.
Using the same/latest compiler of arm-linux-g++ we want to compile our code in RHEL 7 64bit.
Since all the packages installed in RHEL are 64bit and not able to get a correct arm-linux-g++ 32bit version, I'm not able to compile my code.
My code use below set of libs

1. Openssl and ssl.h(for dev build)
2. libz
3. libstdc++
4. glibc
Can anyone provide the same packages for RHEL 7? Old architecture uses i386.

Kindly help me in providing relevant answers?
Thanks
Vijay
vijay
 
Posts: 3
Joined: Tue Jul 18, 2017 6:08 am

Re: Porting the arm-linux-g++ to RHEL

Postby WarheadsSE » Tue Jul 18, 2017 2:38 pm

How is it that you are so locked to a 32-bit compiler? Your code should compile find on a 64-bit compiler.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Porting the arm-linux-g++ to RHEL

Postby vijay » Wed Jul 19, 2017 5:51 am

I'm not able to find the exact ARM-Linux-g++ compiler which runs on RHEL 7.
vijay
 
Posts: 3
Joined: Tue Jul 18, 2017 6:08 am

Re: Porting the arm-linux-g++ to RHEL

Postby WarheadsSE » Wed Jul 19, 2017 1:17 pm

Let me be clearer?

What is stopping the code from compiling as-is with the default compiler?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Porting the arm-linux-g++ to RHEL

Postby vijay » Thu Jul 20, 2017 6:03 am

The target processor to run our code is ARM920Tid(wb) rev 0 (v4l). In order to do that we need a cross compiler. which is not there by default in RHEL 7.
vijay
 
Posts: 3
Joined: Tue Jul 18, 2017 6:08 am


Return to User Questions

Who is online

Users browsing this forum: No registered users and 25 guests