To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 311
310  |  312
Subject: 
Re: more fun with cross-compilers
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 9 Jul 1999 18:16:57 GMT
Viewed: 
1040 times
  
Well, neither the latest release of egcs nor the latest binutils 2.9.1
seems to do it. Apparently, though, the beta binutils (2.9.4, use at your
own risk, blah, blah, blah) works. The gcc compilation is now crashing in
a different location.

Using my own instructions, posted at
http://arthurdent.dorm.duke.edu/legos/HOWTO/HOWTO-2.html#ss2.1
I run a make LANGUAGES="c c++" and get the following error I've attached
at the bottom, which (though similar to other libgcc errors I've gotten
before) is not quite the same, and not the result of a bad path (as it
has been in the past.)

Anyone have any ideas?
-Luis
the error:

---

for name in _cmpsi2 _ucmpsi2 _divhi3 _divsi3 _mulhi3 _mulsi3; \
do \
  echo ${name}; \
  /tmp/egcs-1.1.2/gcc/xgcc -B/tmp/egcs-1.1.2/gcc/ -O2  -DCROSS_COMPILE
-DIN_GCC   -g -O2 -Dinhibit_libc -I./include  -DDF=SF -DDI=SI -g1
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I./config -c -DL${name}
libgcc1.S; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  mv libgcc1.o ${name}.o; \
  h8300-hitachi-hms-ar cr tmplibgcc1.a ${name}.o; \
  rm -f ${name}.o; \
done
_cmpsi2
Assembler:
        aline 1 : Illegal mnemonic
        aline 1 : syntax error

<snip many, many similar lines>

        aline 95        : syntax error
        aline 95        : Illegal mnemonic
Too many errors - Goodbye
*** Error code 1
make: Fatal error: Command failed for target `libgcc1-asm.a'

---

On Fri, 9 Jul 1999, Matthew E Cross wrote:

Date: Fri, 9 Jul 1999 13:23:56 GMT
From: Matthew E Cross <profesor@sidehack.sat.gweep.net>
To: lugnet.robotics.rcx.legos@lugnet.com
Subject: Re: more fun with cross-compilers

Luis Villa <liv@duke.edu> wrote:
This error occurs on both solaris for sparc and x86. As far as I can
tell, neither machine actually contains the file sysinfo.h, so I can only
assume that there must be some flag or some such to set during configure
to make it ignore this. However, I can't find it. Any ideas?
-Luis

P.S. My ./configure line is:

configure --target=h8300-hitachi-hms
       --prefix=/tmp/crossgcc
       --exec-prefix=/tmp/h8300-hitachi-hms

There were some changes in Solaris 2.7 that break the compilation of some
stuff, if I remember correctly.  Have you checked with the gcc maintainers
to see if they have a patch for this?  Another thing to try would be
specifying the host type explicitly on the configure line.

-Matt



#######################################################################

     Profanity is the one language that all programmers understand.
                  -Anonymous

#######################################################################



Message is in Reply To:
  Re: more fun with cross-compilers
 
(...) There were some changes in Solaris 2.7 that break the compilation of some stuff, if I remember correctly. Have you checked with the gcc maintainers to see if they have a patch for this? Another thing to try would be specifying the host type (...) (25 years ago, 9-Jul-99, to lugnet.robotics.rcx.legos)

4 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR