Newbie Solaris Question...
Christopher Plummer
Christopher_Plummer at raytheon.com
Mon Sep 15 16:47:01 UTC 2003
Yep, I've set the path as such. Not sure what I did, but I am not getting
this error:
/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
`/home/kplummer/opt/rtems/sparc-rtems/bin/as': Exec format error
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'
The 'as' that it is trying to use is the one from the
sparc-rtems-binutils-2.13.2.1-2.t fi.
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
gregory.menke at gsfc.nasa.gov
09/15/03 10:16 AM
To: "Christopher Plummer" <Christopher_Plummer at raytheon.com>
cc: RTEMS Users <rtems-users at rtems.com>
Subject: Newbie Solaris Question...
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