LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Gcc Build error: target=Mips (https://www.linuxquestions.org/questions/programming-9/gcc-build-error-target%3Dmips-445508/)

Kcghost 05-16-2006 07:16 PM

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? :confused:

Thanks In Advance for any help

taylor_venable 05-18-2006 07:33 PM

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.

Kcghost 05-18-2006 11:23 PM

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.


All times are GMT -5. The time now is 12:47 AM.