Building RTEMS on Sparc

Joel Sherrill joel.sherrill at OARcorp.com
Tue Jun 6 18:54:32 UTC 2000


Frank Szczerba wrote:
> 
> If you create the directory it is complaining about:
> 
> # mkdir /home/akkas/gnu_tools_for_RTEMS/sparc-rtems/sys-include
> 
> the build should succeed. It doesn't seem to need any files in that
> directory

Yes.  This is a valid workaround.

The purpose of the sys-include directory is to manually insert
"foreign" .h files into the build process.  Say you were building
a Linux->Solaris (unix->unix) cross compiler.  You could grab the
native Solaris .h files and put them in sys-include.  

> Frank Szczerba
> Development Engineer
> Woodward McCoach Inc
> frank at wmi.com
> 
> -----Original Message-----
> From: Ahmet Akkas <akkas at lucent.com>
> To: joel.sherrill at oarcorp.com <joel.sherrill at oarcorp.com>
> Cc: rtems-users at oarcorp.com <rtems-users at oarcorp.com>
> Date: Tuesday, June 06, 2000 1:00 PM
> Subject: Re: Building RTEMS on Sparc
> 
> >Hi,
> >
> >I am on a sparc machine (SPARC Station 20). What should I do fix
> >the problem? Thanks,
> >
> >Ahmet Akkas
> >
> >
> >Joel Sherrill wrote:
> >>
> >> Ahmet Akkas wrote:
> >> >
> >> > Hi,
> >> >
> >> > I have the following error message when I run "./bit sparc"
> >> > command to able to build the necessary tools for RTEMS.
> >> > Could you please tell me what I am missing.
> >>
> >> What host are you on?  This looks like a known problem on Solaris
> >> that is a bug in the gcc fixincludes shell script that the next
> >> round of RTEMS gcc patches addresses.
> >>
> >> > Thanks,
> >> >
> >> > Ahmet Akkas
> >> >
> >> >
> ***************************************************************************
> >> > /bin/sh ./fixinc.sh `pwd`/include
> >> > /home/akkas/gnu_tools_for_RTEMS/sparc-rtems/sys-include
> >> > Fixing headers into
> >> > /home/akkas/RTEMS_cross_development/tools/build-sparc-tools/gcc/include
> for
> >> > sparc-unknown-rtems target
> >> > ./fixinc.sh: /home/akkas/gnu_tools_for_RTEMS/sparc-rtems/sys-include:
> does not
> >> > exist
> >> > make[1]: *** [stmp-fixinc] Error 1
> >> > make[1]: Leaving directory
> >> > `/home/akkas/RTEMS_cross_development/tools/build-sparc-tools/gcc'
> >> > make: *** [all-gcc] Error 2
> >> > ERROR: **** FAILED **** base build (step 1)
> >> >
> >> > Started:   Tue Jun 6 09:32:06 EDT 2000
> >> > Finished:  Tue Jun 6 11:15:21 EDT 2000
> >> >
> >> > Directory size information:
> >> > 20119   build-sparc-tools
> >> > 17816   /home/akkas/gnu_tools_for_RTEMS
> >> >
> >> > The build-sparc-tools subdirectory has NOT been removed.
> >> >
> ***************************************************************************
> >>
> >> --
> >> 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