LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 05-31-2007, 10:46 AM   #1
raptor95368
Member
 
Registered: Jan 2004
Location: Where the work is...usually Global
Distribution: RH 7,8, 9 and Solaris 8, Ubuntu
Posts: 45

Rep: Reputation: 15
Back Revving GCC


I have a friend who is trying to back rev GCC from 4.1.1 to 3.4.4 due to the older system he is installing on. To date, this has been an unsuccessful venture. Has anyone done this and if so, can tips to make this transition backwards successful be shared?

Cheers
 
Old 05-31-2007, 11:05 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Why doesn't 4.1.1 work for your older system; what do you need from 3.4.4 that 4.1.1 doesn't have?. What problems are you having? How are you trying to install 3.4.4, source or precompiled?
 
Old 05-31-2007, 11:57 AM   #3
raptor95368
Member
 
Registered: Jan 2004
Location: Where the work is...usually Global
Distribution: RH 7,8, 9 and Solaris 8, Ubuntu
Posts: 45

Original Poster
Rep: Reputation: 15
Building from source, building an application in GCC 3 recognized a time stamp and assigned an out for it...in 4.1.1 it complains during compiling that there is no out for an 8 bit time stamp and the build terminates...the gentleman says he needs to modify the gcc code so that 4 recognizes the time stamp the way the 3 did or back rev to the 3 version. Thanks for the response...
 
Old 05-31-2007, 12:42 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
I've seen people think old machine = old version of software, that's why I ask; usually no technical reason. Seems that it would make more sense to modify the application code rather than the compiler code.

In any event, here are some instructions for building gcc v3 and installing it in /opt. They use 3.3.6, but, IIRC, I've used them for 3.4.6 with only minor modifications. Gives you the option of using v4 or v3 on your machine.
 
  


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
Assigning a short to a double. Differences between gcc-2.95 and gcc-3.4.x _john_i_ Programming 2 01-12-2007 01:11 PM
have gcc compilation error during gcc installtion in linuxfromscratch vbshanmugaprakash Linux - General 3 12-13-2006 05:52 AM
LXer: Tools: GCC 3.4.6, Final GCC 3 Release LXer Syndicated Linux News 0 05-30-2006 02:21 AM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 12:07 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:46 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