LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-22-2005, 02:53 PM   #1
Alotau
Member
 
Registered: Jan 2005
Location: Fremont, CA
Distribution: Red Hat 9
Posts: 58

Rep: Reputation: 15
crosscompiling gcc error


I successfully built a crosscompiler using Crosstool. I am working on a regular old pentium system with some version of Red Hat (I can tell you which version if you tell me how to do it!) and am compiling gcc-3.4.1 to work on a ppc405 (targeting itself). I was able to configure gcc correctly and begin building it via the Makefile created. It chugged along for a while and I let it run as I went home last night, this morning I see it ended with this error:

Code:
as: unrecognized option -mppc
make[1]: *** [crtbegin.o] Error 1
make: *** [all-gcc] Error 2
The last lines output by the make before the error were:

Code:
Applying io_quotes_def          to asm-xtensa/addrspace.h
Applying io_quotes_def          to asm-xtensa/xtensa/xt2000-uart.h
It completed a bunch of lines like this prior to exiting. I can try and provide more information if it is helpful. Any advice on how to fix this problem would be much appreciated! I am not even sure how far in the process this error is, I have a lot of folders and files created by this make, so for all I know I could be close to done. Anyway, thx in advance...

Joey
 
Old 06-22-2005, 04:11 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
See if this helps,I see people in my searches using cross-dev.
http://www.cse.unsw.edu.au/~cgray/cr...alpha-xcc.html
 
Old 06-22-2005, 05:03 PM   #3
Alotau
Member
 
Registered: Jan 2005
Location: Fremont, CA
Distribution: Red Hat 9
Posts: 58

Original Poster
Rep: Reputation: 15
Thanks for the reply, but that site is targeted toward alphas and seems pretty specific about it, unless I am missing something. Any other sites/tips?
 
Old 06-22-2005, 05:14 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Did you see this one;
http://kegel.com/crosstool/
 
Old 06-22-2005, 05:39 PM   #5
Alotau
Member
 
Registered: Jan 2005
Location: Fremont, CA
Distribution: Red Hat 9
Posts: 58

Original Poster
Rep: Reputation: 15
Thanks again. Crosstool is what I used to get my crosscompiler up. Couldn't have done it without it. Since Crosstool told me everything was OK and I could see the gcc tools it created, I assume that part is fine.

Now just when actually building gcc with those tools, I get the errors listed above. I think the problem must be the way I have configured gcc or something... maybe a flag I need to include?

Joey
 
  


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
in gcc compiler error: parse error before string constsnt cynthia_thomas Linux - Networking 1 10-20-2005 02:29 AM
compile GCC 4.0 error! ayiiq180 Linux - Software 3 04-22-2005 05:04 PM
GCC g++ error using classes bru Programming 2 05-13-2004 12:01 PM
Error - GCC rapidmaniac Linux - Software 6 04-29-2004 07:15 PM
gcc 33 error rahul_jain_9684 Linux From Scratch 1 07-30-2003 12:15 PM


All times are GMT -5. The time now is 03:09 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration