En cours

CentOS7 Bash scripts for multiple gcc installations


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


Rick F

Compétences : Linux, Programmation C, Programmation C++, CentOs

en voir plus : php scripts multiple photo uploads, multiple virtuemart installations, bash scripts needed, bash scripts ftp, directadmin cron bash scripts, bash scripts sed examples, mysql server bash scripts, unix bash scripts freelance, linux bash scripts, scripts multiple compensation plans, multiple wordpress installations script, best bash scripts, bash scripts check free space, recording timing bash scripts, bash scripts mysql insert, useful bash scripts convert video, bash scripts mysql insert select, bash scripts apache log files processing

Concernant l'employeur :
( 1 commentaire ) Pittsfield, United States

Nº du projet : #22604300

Décerné à:


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 Plus

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 30 jours
(3 Commentaires)

9 freelance font une offre moyenne de $175 pour ce travail


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.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(37 Commentaires)

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 Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(17 Commentaires)

⭐⭐⭐⭐⭐ Greetings Dear Client! ⭐⭐⭐⭐⭐ Professional C/C++ developer is ready for your project! I have gone through your description and I'm very interesting as an expert in this field. I'm developing C/C++ program for 10+ Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(7 Commentaires)

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. Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(6 Commentaires)

Hi. Sir.~~~~~~~~~~~~~I WILL VERY SATISFY YOU~~~~~~~~~~~~~~~~~~ I saw your details.I am interested in your project. I think my expertise and experience will help you. I can complete your project perfectly and clearly in Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)

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!

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 10 jours
(0 Commentaires)

Hi Dear Client! I have read an explanation of your project in detail. I have rich experience in C++, so I can provide you best work. As you can see in my background, I have much experience and assets in this field. So Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)

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 Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 5 jours
(0 Commentaires)