Newbie Solaris Question...

gregory.menke at gsfc.nasa.gov gregory.menke at gsfc.nasa.gov
Mon Sep 15 16:16:42 UTC 2003


Christopher Plummer writes:
 > Hey guys,
 > 
 > I am trying to get the RTEMS setup going on a Solaris box.  I want to get 
 > the UNIX/emulator kernel running locally to do some preliminary testing, 
 > but am having trouble getting GCC to compile.  Here's what I've done to 
 > this point - I'm hoping someone can give the steps to get this thing 
 > going...
 > 
 > Downloaded the sparc-rtems files for binutils, gcc, and c++ and unpacked 
 > them.  I've exported the PATH to include the new opt/rtems directory. 
 > Next, I created a build directory, cded into into and ran the configure 
 > command for GCC - which goes good.  When I run gmake it errs during 
 > compile with:
 > 
 > /home/kplummer/Files/SPARC_RTEMS/build/gcc/xgcc 
 > -B/home/kplummer/Files/SPARC_RTEMS/build/gcc/ -nostdinc 
 > -B/home/kplummer/Files/SPARC_RTEMS/build/sparc-rtems/newlib/ -isystem 
 > /home/kplummer/Files/SPARC_RTEMS/build/sparc-rtems/newlib/targ-include 
 > -isystem /home/kplummer/Files/SPARC_RTEMS/gcc-3.2.3/newlib/libc/include 
 > -B/home/kplummer/opt/rtems/sparc-rtems/bin/ 
 > -B/home/kplummer/opt/rtems/sparc-rtems/lib/ -isystem 
 > /home/kplummer/opt/rtems/sparc-rtems/include -c -o crti.o -x assembler 
 > .../../gcc-3.2.3/gcc/config/sparc/sol2-ci.asm
 > xgcc: installation problem, cannot exec `as': No such file or directory
 > gmake[1]: *** [crti.o] Error 1
 > gmake[1]: Leaving directory `/home/kplummer/Files/SPARC_RTEMS/build/gcc'
 > gmake: *** [all-gcc] Error 2
 > gmake: Leaving directory `/home/kplummer/Files/SPARC_RTEMS/build'
 > 
 > Any ideas?  Steps?


Is the ~/opt/rtems/bin directory in your path?

Gregm




More information about the users mailing list