LinuxQuestions.org
Help answer threads with 0 replies.
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


Closed Thread
  Search this Thread
Old 12-03-2011, 08:14 AM   #1
qwerty4061
Member
 
Registered: Nov 2011
Posts: 31

Rep: Reputation: Disabled
GCC release process


Hi,
I had some doubt regarding GCC release process. I wanted to build a cross compiler for MIPS using GCC for a large project. The GNU website shows that there are lot of active releases eg: 4.3.x and 4.6.x all have recent releases. So if I am starting my project today which version should I prefer.

Thanks
 
Old 12-03-2011, 09:16 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Unless you are an expert in building cross compilers / tool chains :
It's not recommended to build one yourself.
And a standalone "gcc-mips" won't do.

The minimum for a tool chain is :
binutils, "gcc-mips", a libc ( Uclibc glibc eglibc etc.),
and headers from the "preferred kernel".

The recommended tool chain is : crosstool-NG http://crosstool-ng.org/
"crosstool-NG" is the only tool that's updated regularly.
Last update is : 20 Nov 2011.

GCC version : Probably a version that can be used for your kernel.
General purpose : gcc-4.4.4 ( A later version like 4.6 : New software only.)

..

Last edited by knudfl; 12-03-2011 at 12:01 PM.
 
1 members found this post helpful.
Old 12-03-2011, 01:35 PM   #3
qwerty4061
Member
 
Registered: Nov 2011
Posts: 31

Original Poster
Rep: Reputation: Disabled
knudfl, Thanks for your reply. I am forced to use 2.6.29 kernel for my project, so how do I find which version of gcc needs to be used.
 
Old 12-03-2011, 01:54 PM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Even though you have gotten an answer already, this thread is technically still part of your other active thread. Reporting to be closed; Please keep similar topics within one thread if you can.

Cheers,

Josh
 
Old 12-03-2011, 04:16 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#3.

2.6.29.? : gcc-4.3.2 .... 4.4.0 were used.
 
Old 12-03-2011, 07:30 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Please stick to your original thread: http://www.linuxquestions.org/questi...piling-916758/
 
  


Closed Thread



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
Does the termination of a process release file and other resources. clivebluston Linux - Newbie 3 04-15-2011 06:13 AM
LXer: New X.Org Release Process Has Been Reached LXer Syndicated Linux News 0 10-01-2009 07:00 AM
gcc release number? Ace27 Linux - Newbie 3 02-13-2007 04:05 PM
LXer: Tools: GCC 3.4.6, Final GCC 3 Release LXer Syndicated Linux News 0 05-30-2006 02:21 AM
most stable gcc release corbis_demon Linux - Newbie 1 02-19-2006 03:56 AM

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

All times are GMT -5. The time now is 04:32 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
Open Source Consulting | Domain Registration