Newbie Solaris Question...
Joel Sherrill
joel.sherrill at OARcorp.com
Mon Sep 15 18:23:16 UTC 2003
gregory.menke at gsfc.nasa.gov wrote:
> Did you compile binutils, or install from an rpm. If rpm, perhaps its
> bad?
The Solaris binaries are cross-compiled from Linux -> Solaris 8.
It is certainly possible they do no thave some magic bit set
but this procedure has worked in the past. I have heard of no
other problems with the Solaris binaries.
<grin> Of course, that could mean that there are no Solaris users.
--joel
> Gregm
>
> Christopher Plummer writes:
> > I am using Solaris 9 if that helps any...
> >
> > bash-2.05$ sparc-rtems-as -help
> > bash: /home/kplummer/opt/rtems/bin/sparc-rtems-as: cannot execute binary
> > file
> >
> > I'm getting the same thing for all of the files in ~/opt/rtems/bin.
> >
> > 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
> >
> >
> >
> >
> > Joel Sherrill <joel.sherrill at OARcorp.com>
> > 09/15/03 11:04 AM
> >
> > To: Christopher Plummer <Christopher_Plummer at raytheon.com>
> > cc: RTEMS Users <rtems-users at rtems.com>
> > Subject: Re: Newbie Solaris Question...
> >
> >
> > Christopher Plummer wrote:
> >
> > > 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.
> > >
> >
> > If you invoke "sparc-rtems-as --version", what happens?
> >
> > --joel
> >
> > > 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
> > >
> > >
> > >
> >
> >
> > --
> > Joel Sherrill, Ph.D. Director of Research & Development
> > joel at OARcorp.com On-Line Applications Research
> > Ask me about RTEMS: a free RTOS Huntsville AL 35805
> > Support Available (256) 722-9985
> >
> >
> >
> >
> >
>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list