LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-06-2005, 07:24 AM   #1
FLLinux
Member
 
Registered: Jul 2004
Location: USA
Distribution: Fedora 9, LFS 6.3, Unbuntu 8.04, Slax 6.0.7
Posts: 145

Rep: Reputation: 15
Question Cross Compiler for H8300


I am trying to compile the gcc3.4.4 compiler to allow me to cross compiler for the H8300 hitachi micro contorller. And i am running into this error at during the compile of the gcc3.4.4 compiler

checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... cross-compiling...
unknown
checking to probe for byte ordering... /home/user/Programming/hitachi/h8300-hitachi-hms/bin/ld: crt0.o: No such file: No such file or directory
collect2: ld returned 1 exit status
unknown
configure: error: unknown endianess - sorry
/home/user/Downloads/gcc-3.4.4/libiberty/configure: line 3289: exit: please: numeric argument required
/home/user/Downloads/gcc-3.4.4/libiberty/configure: line 3289: exit: please: numeric argument required
make: *** [configure-target-libiberty] Error 1


I have built a binutils useing the following configuration ( I am using binutils-2.16.1):
./configure --target=h8300-hitachi-hms --prefix=$HOME/Programming/hitachi

and then configure the gcc3.4.4 compile with this line
/home/user/Downloads/gcc-3.4.4/configure --target=h8300-hitachi-hms --prefix=/home/user/Programming/hitachi --with-newlib

I am compiling the gcc3.4.4 code in a separate directory then what i donloaded it into, and everything seem fine until i hit the endian check. Any ideas?
 
  


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
cross compiler alpha_foobar Linux - General 0 08-17-2005 06:15 PM
Cross compiler !!! hiteshmaisheri Linux - Laptop and Netbook 3 03-05-2005 09:51 AM
cross compiler leonora Programming 2 01-08-2005 11:13 AM
Cross compiler help please daveschile Linux - Software 1 04-09-2004 07:24 PM
Cross-compiler for x86-64 ogre7299 Linux - Software 0 10-27-2003 11:27 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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