Newbie Solaris Question...

Christopher Plummer Christopher_Plummer at raytheon.com
Mon Sep 15 15:12:38 UTC 2003


Actually, this is what I get.  Forgot to set the path in a new terminal 
window...

/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
as: "../../gcc-3.2.3/gcc/config/sparc/sol2-ci.asm", line 51: error: 
statement syntax
as: "../../gcc-3.2.3/gcc/config/sparc/sol2-ci.asm", line 53: error: 
statement syntax
as: "../../gcc-3.2.3/gcc/config/sparc/sol2-ci.asm", line 55: error: 
statement syntax
as: "../../gcc-3.2.3/gcc/config/sparc/sol2-ci.asm", line 64: error: 
statement syntax
as: "../../gcc-3.2.3/gcc/config/sparc/sol2-ci.asm", line 66: error: 
statement syntax
as: "../../gcc-3.2.3/gcc/config/sparc/sol2-ci.asm", line 68: error: 
statement syntax
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'

Thanks again.

Kit
------------------------------------------------
Kit Plummer, Systems Engineer
Operations Research and System Performance Dept.
Raytheon Missile Systems
520-794-1552
520.794.0309 fax
christopher_plummer at raytheon.com




"Christopher Plummer" <Christopher_Plummer at raytheon.com>
09/15/03 09:01 AM
 
        To:     RTEMS Users <rtems-users at rtems.com>
        cc: 
        Subject:        Newbie Solaris Question...


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?

TIA,
Kit
------------------------------------------------
Kit Plummer, Systems Engineer
Operations Research and System Performance Dept.
Raytheon Missile Systems
520-794-1552
520.794.0309 fax
christopher_plummer at raytheon.com





More information about the users mailing list