LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-11-2003, 02:45 PM   #1
renjithgopal
LQ Newbie
 
Registered: Jul 2003
Location: Bangalore, INdia
Distribution: Redhat Linux
Posts: 9

Rep: Reputation: 0
a doubt with host gcc and arm-linux-gcc


Hello
I am using redhat linux 8.0 which has got gcc 3.2
i have to compile u-boot for cogent csb226 which uses an xscale processor (armv5 core). so i downloaded arm-linux-gcc 2.95.3 which is a stable version

but when i am compiling u-boot i am getting some errors.. i have a doubt that its related to the different versions of gcc (since host gcc and crosscompile gcc are of different versions)... is it right.. and if so how to correct it? please explain in detail...
 
Old 09-11-2003, 04:02 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
" how to correct it? please explain in detail..."

I cannot explain in detail. But the place that I would start looking is the dependency packages for both compilers. Start with the following commands:
rpm -qR gcc
rpm -qR arm-linux-gcc

Check to see if there are one or more packages that both compilers depend on.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Setting arm-gcc path? karfei00 Linux - General 0 06-16-2004 04:59 AM
running software built with gcc 3.0.2 on Redhat 8 - gcc 3.2 dst1989 Linux - Software 3 03-08-2004 10:23 PM
A doubt in gcc renjithgopal Linux - Software 1 09-11-2003 03:27 PM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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