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 / 308
307  |  309
Subject: 
more fun with cross-compilers
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 6 Jul 1999 21:34:09 GMT
Viewed: 
1031 times
  
I posted here quite some time about this, and got a single personal
response which has now been lost into the bowels of my pine folder
"system." (hah!) Has anyone successfully set up a cross compiler on
solaris 2.7? While building the binutils, I get the following error:

gcc -c -I. -I../../binutils-2.9.1/binutils -g -O2
../../binutils-2.9.1/binutils/syslex.c ;\
fi
/5g/ian/binutils/release/copy/binutils/syslex.l:2: sysinfo.h: No such
file or directory
*** Error code 1
make: Fatal error: Command failed for target `syslex.o'
Current working directory /tmp/build-binutils/binutils
*** Error code 1
make: Fatal error: Command failed for target `all-binutils'

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

which works fine on my several linux systems.

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

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

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



Message has 1 Reply:
  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