CentOS7 Bash scripts for multiple gcc installations

Sedang Disiapkan Disiarkan 4 tahun lepas Dibayar semasa penghantaran
Sedang Disiapkan Dibayar semasa penghantaran

Hello-

I have the latest version of 64b Centos7 (Currently build 1804), running in the latest version of VirtualBox hosted on 64b Windows 10. I have a multiple- (100s of ) file C/C++ software project that needs to compile under gcc 6.1 "or later", and I have been tasked with testing the successful build under gcc/g++ 6.3, 7.3, and 8.1.

I need someone who can write a 2 bash scripts for me that do the following:

Bash Script 1: (to be named 'download_andBuild_gnuTools') Downloads and builds gcc (and g++) version N and installs all files into a directory gcc.N/ (not the usual /usr/bin, /usr/lib-xx, etc). Download/build *must* include 32b libraries and header files. (for some reason, Yum won't automatically pull these down on my machine). Input to script 1 will be a major version of gnu tools (i.e 6.3, 7.3, 8.1; for example "download_andBuild_gnuTools 6.2")

Script 2: Named "setupUse_gnu". Sets whatever environment are needed (PATH, LD_RUN_PATH, etc) so that when gcc, g++, or ld are invoked, it will only use static link and header files from the gcc.N directory (not the usual /usr/lib-xx) directories. Input to script 2 will be a major version of gnu tools (i.e 6.3, 7.3, 8.1; for example "setupUse_gnu 6.2)"

Project will be deemed complete when I can, on my CentOS 7.4 machine:

a) use script 1 to download/build a version of the gnu tools, verify that the executables are installed in the correct directory (i.e, gcc.6.2/ for gcc 6.2), and that no directories under /usr or /lib have been modified,

b) use script 2 to setup my environment to use a specific version of gcc (built with script 1) to test the build scripts for our software

c) build the software

Other notes:

a) All files to be built are only C or C++; no need for the Fortran or other gnu compilers

b) I have verified on 2 other computers in the company that this software builds correctly if gcc 6.1, 6.2, or 7.2 are installed natively (as long as the both the 64 and 32b libs and headers are installed), so I will use those "major versions" of gcc to test the scripts, if any build errors occur, to determine whether the issue is related to the 'script installed gcc' or the software under test.

c) I have gcc 5.4 installed natively, and don't want to script 1 to modify any of the existing gcc files in /usr/bin, /usr/lib, /usr/lib64, etc that would alter the existing native install.

d) I'll run this script as root; no need for any 'sudo' commands

Thanks

Rick F

Linux Pengaturcaraan C Pengaturcaraan C++ CentOs

ID Projek: #22604300

Tentang projek

6 cadangan Projek jarak jauh Aktif 4 tahun lepas

Dianugerahkan kepada:

horidus

Hi, I am an expert in C/C++ programming languages and have over 2 years of experience in Linux Administration and devops. In this course of experience I have written manifests in puppet in python. I am also a certifi Lagi

$250 USD dalam 30 hari
(3 Ulasan)
1.8

6 pekerja bebas membida secara purata $205 untuk pekerjaan ini

AhmadSameer

Hey there, I'm a Systems Engineer with coding skills. I have been working with Linux/Unix-systems for years. I had developed tons of Bash scripts. I can help. Regards.

$250 USD dalam 7 hari
(37 Ulasan)
5.2
nickdevops

Hello my name is Nikos and Im working on the Linux server administration field for the past 6 years. Over these years I worked for two web hosting companies as a Senior Administrator managing their servers & providing Lagi

$127 USD dalam sehari
(23 Ulasan)
4.7
thinkbased

Hi , I can write the bash to install and compile using gcc but the question is your software is working on both 32 and 64 or you want to have different installation for each type ? Let's talk in details if you are inte Lagi

$180 USD dalam 5 hari
(2 Ulasan)
3.5
rdmrla

Hello. I can help with the creation of the two Bash scripts. I have more than 10 years of experience of working with and administering Linux and its variants. I'm also well versed with Bash scripting, Perl and PHP. Lagi

$120 USD dalam 3 hari
(8 Ulasan)
2.9
ngprakasam

Hello sir, nice to meet you! I'm a DevOps Engineer with strong experience in this. I'm confident to handle this task because it's one of my daily jobs in office. Feel free to contact me! Thank you!

$300 USD dalam 10 hari
(0 Ulasan)
0.0