LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-16-2006, 07:16 PM   #1
Kcghost
LQ Newbie
 
Registered: May 2006
Posts: 13

Rep: Reputation: 0
Gcc Build error: target=Mips


I think this thread topic is a toss-up between Linux- Software and Programming, but I decided to post it here in Programming.

I have been trying to build gcc-3.3 from source for a specific target machine. I am running SimplyMEPIS(Debian-based) linux. Target machine= mips64-unknown-elf

During make, I get this error:
as: Unrecognized option -G

I look up, and sure enough, amongst a jungle of other commands, is a -G. And -G (as far as I know) isn't supposed to be there. I researched the problem, and found two others who had the same problem, both of them compiling for mips targets, but they do not have definitive responses. I cannot post their URLS because LinuxQuestions had a wierd rule that you cannot post URLS until you have at least three posts. So to find those, search "as: Unrecognized option -G" in Google.

Anyway, I tried looking through many of the shell scripts and make and whatever for -G. None came up with what I was looking for (I was gonna just try to take it out)Anybody know what causes this, or how I can fix it?

Thanks In Advance for any help
 
Old 05-18-2006, 07:33 PM   #2
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 40
Out of curiosity, why are you trying to build GCC 3.3? If this was a bug in the GCC build process, it may be fixed in a more recent (say, 4.0 or 4.1) version.
 
Old 05-18-2006, 11:23 PM   #3
Kcghost
LQ Newbie
 
Registered: May 2006
Posts: 13

Original Poster
Rep: Reputation: 0
I think that was the highest in the directory mirror I was looking through. Well I actually found the solution to this problem just today, after a good amount of research using Google Groups, I found building binutils from source for mips targets makes the -G option become available for as. Problem is, I had tried that and had more build problems. It just never ends, lol. Oh well, I'll find a solution in Google Groups or something.
 
  


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
Error building cross gcc-3.3.2 for i386-mingw32msvc target ugenn Linux - Software 2 10-05-2012 02:33 AM
I want to build mips-ecoff-gcc tool chain under Cygwin. keyboard Programming 4 05-31-2005 03:22 AM
To build native compiler(gcc) for mips kuru Linux - Software 2 10-18-2004 06:41 AM
gcc-3.3.3 compling(configure-target-libiberty error 1) windus Linux - Software 0 04-18-2004 12:38 PM
GCC first build for LFS, bootstrap error Blibblob Linux From Scratch 8 01-07-2004 05:50 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration