LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Cross Compiler for H8300 (https://www.linuxquestions.org/questions/programming-9/cross-compiler-for-h8300-380443/)

FLLinux 11-06-2005 07:24 AM

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?


All times are GMT -5. The time now is 01:56 AM.