Building RTEMS on Sparc

Ahmet Akkas akkas at lucent.com
Tue Jun 6 21:07:39 UTC 2000


Creating the "sys-include" directory solved the problem.
Thanks a lot.

Ahmet Akkas


Joel Sherrill wrote:
> 
> 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
> >

> > >> 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.
> > >> >
> > ***************************************************************************



More information about the users mailing list