LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-23-2014, 09:56 AM   #1
kirangothe
LQ Newbie
 
Registered: May 2014
Posts: 3

Rep: Reputation: Disabled
Question gcc 4.5.1 (32 bit) linux needed on fedora core 16 (64 bit)


I have fedora core 16 (64 bit) on my laptop. gcc version is 4.6.3. Now I need to test few example software source code that requires older version of gcc-4.5.1 and 32 bit linux. What is the way I can achieve this? Is Virtual machine the only solution?
 
Old 05-23-2014, 11:57 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,458

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
Fedora 16 and 17 and 18 are all dead and unsupported

Please stay current and install Fedora 20

Fedora 20 uses gcc 4.8

you can install older versions
search yum
or
build from source

but with fedora 16 ,4 versions out of date and unsupported for over a year ????


also fedora dropped the "core" in it's name YEARS ago with fedora 7
the very LAST "fedora core" was Fedora core 6

Last edited by John VV; 05-23-2014 at 12:00 PM.
 
Old 05-23-2014, 01:03 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,315

Rep: Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576
@kirangothe : Welcome to LQ.

Suggest :
Use ``Redhat CentOS 6.5 - i686/i386 (Fedora 12 based) e.g. in a Virtual machine.
The default gcc / g++ version 4.4.7 will do OK, I guess.

Fedora : # yum install compat-gcc-34-c++
.. will be OK for the most older software :

$ export CC=gcc34 CXX=g++34 && ./configure

-
 
Old 05-24-2014, 11:11 AM   #4
kirangothe
LQ Newbie
 
Registered: May 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Question gcc 4.5.1 (32 bit) linux needed on fedora core 16 (64 bit)

Quote:
Originally Posted by knudfl View Post
@kirangothe : Welcome to LQ.

Suggest :
Use ``Redhat CentOS 6.5 - i686/i386 (Fedora 12 based) e.g. in a Virtual machine.
The default gcc / g++ version 4.4.7 will do OK, I guess.

Fedora : # yum install compat-gcc-34-c++
.. will be OK for the most older software :

$ export CC=gcc34 CXX=g++34 && ./configure

-
Installed compat-gcc-34-c++ using yum install compat-gcc-34-c++ and exported the variables as you said. But I don't know from which location to run ./configuration. I will check the CentOS option if this does't succeed.
 
Old 05-24-2014, 11:31 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,315

Rep: Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576Reputation: 3576
# 4 .

"$ export CC=gcc34 CXX=g++34 && ./configure" is just an example.

If you have no configure script in your application,
there are other ways to use a specific compiler.
? Which files have you got in your "example software source code" ?

-
 
Old 05-29-2014, 08:18 AM   #6
kirangothe
LQ Newbie
 
Registered: May 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thumbs up Problem solved by using fedora 14 virtual machine

Thanks to Knudfl for his suggestions. But there is no configure script provided. The application that I had been trying to use comes with precompiled SDK libraries and some example source codes that use these libraies. As these libraries were compiled using gcc-4.5.1, I needed same compiler version for compiling these example source codes.
Taking a hint from your 1st suggestion, finally I installed fedora14 as virtual machine guest OS on fedora16 host machine. Now I am able to compile the example source codes and link them to sdk libraries.
Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] Compiling a 32-bit, local gcc, 64-bit host. bluesword1969 Linux - Software 3 02-11-2011 09:53 PM
[SOLVED] Assistance needed to set up RHEL 64-bit as a YUM Proxy server for 32-bit also. xenner Linux - Newbie 7 10-19-2009 09:50 PM
Compilation problem when downgrading from 64-bit gcc to 32-bit gcc huyhoang3673 Linux - Software 7 08-26-2009 12:31 PM
LXer: Upgrade from 32-bit to 64-bit Fedora Linux without a system reinstall LXer Syndicated Linux News 0 01-11-2008 10:42 PM
32/64 bit libs - FC6/gcc 4.1.1 -m32 picking up 64 bit library marier Fedora 0 04-24-2007 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:44 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration