LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-10-2016, 04:33 AM   #1
prepek2000
LQ Newbie
 
Registered: Feb 2016
Posts: 1

Rep: Reputation: Disabled
Installation of 32 bit gcc on 64bit RHEL 4.5


Hi guys,

This is my first post on this forum, and im not so experienced with Linux, so i need advice from you gurus regarding my problem.

I need to know are there any side effects of installing missing 32-bit gcc-3.4.5 package on 64-bit OS production database server? I have need to do so, because one 32-bit application needs this version of package to work properly, and it doesn't work with current 64-bit version which resides on that host.


Regards!
 
Old 02-10-2016, 08:03 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
You can DO it, but why?

You can tell gcc what architecture you want it to use (for instance -march=i686). gcc supports compiling both 32 and 64 bit.

Note: to link the objects though you will have to have the 32 bit libraries available, and in some cases, the development libraries.

Last edited by jpollard; 02-10-2016 at 08:04 AM.
 
Old 02-10-2016, 08:09 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,681

Rep: Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971Reputation: 7971
Quote:
Originally Posted by prepek2000 View Post
Hi guys,
This is my first post on this forum, and im not so experienced with Linux, so i need advice from you gurus regarding my problem.

I need to know are there any side effects of installing missing 32-bit gcc-3.4.5 package on 64-bit OS production database server? I have need to do so, because one 32-bit application needs this version of package to work properly, and it doesn't work with current 64-bit version which resides on that host.
If you are honestly using RHEL 4.5 on a production server, WHY????? It's ancient, unpatched, insecure, and hasn't had bugfixes/updates in a LONG time. No idea what your application is, but you need to load the LATEST version of RHEL (which is 7.x), or load CentOS if you're not planning on paying for RHEL (and ARE YOU PAYING??). From there, pick one of these two options:
  • Update your application to use the current versions of things..this needs to happen, period, because at some point VERY SOON, you won't be able to buy replacement hardware for such an old system, or even get it to work on current hardware.
  • Pick a DIFFERENT application that does what you want, that DOES work on the current versions of things.
Shoehorning things in, and kludging things together is a BAD IDEA in a production environment.
 
Old 02-10-2016, 02:23 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the very old rhel4 is not really supported by redhat
ONLY 4.9 is on EXTRA extended life support ( and you have to PAY $$$ extra) and that is only for major security fixes

and that ends this April i think

as above if you really are running the VERY OLD RHEL4.5 on a production server
contact you redhat sales Rep. ASAP !!!!
and buy RHEL 7.2
 
Old 02-10-2016, 03:24 PM   #5
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by prepek2000 View Post
Hi guys,

This is my first post on this forum, and im not so experienced with Linux, so i need advice from you gurus regarding my problem.

I need to know are there any side effects of installing missing 32-bit gcc-3.4.5 package on 64-bit OS production database server? I have need to do so, because one 32-bit application needs this version of package to work properly, and it doesn't work with current 64-bit version which resides on that host.


Regards!
In my experience 32-bit packages will show up on x86_64 servers due to application requirements and/or compatibility issues.

...however if you have an active subscription with Red Hat and the correct entitlements, you wouldn't have to worry about this because a package manager would do this work for you.

As everyone as said here, you need to upgrade from RHEL4 and contact Red Hat for support, if you really have paid for it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing 32 and 64 bit JDK rpms on a 64bit RHEL 5.5 server sandricky Linux - Software 2 11-16-2010 01:19 AM
64bit binary to be built on 32-bit Linux4 using g++/GCC sachinkusale Linux - Newbie 4 12-23-2009 02:28 AM
Installation Oracle 10g Application Server on RHEL 4 ES (AMD 64bit) - Help me please! sk84ru Linux - Enterprise 14 11-13-2009 01:47 AM
RHEL-5 64-bit OS Installation kapilbajpai88 Linux - Newbie 5 11-03-2009 01:45 PM
RE: RHEL 4.6 32-Bit installation pslim123 Linux - Newbie 2 05-21-2009 01:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration