This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: powerpc-linux cross-compiler. unknown register name





On Mon, 7 Jun 1999, Kai Ruottu wrote:

> Brendan Simon wrote:
> 
> > Now I get a unrecognised registers in the __math.h header file.
> > 
> > /usr/local/src/gnu-tools/build-egcs-1.1.2/gcc/xgcc
> > -B/usr/local/src/gnu-tools/build-egcs-1.1.2/gcc/ -c -DHAVE_CONFIG_H -g -O2 -I.
> > -I../../.././tools/egcs-1.1.2/libiberty/../include
> > ../../.././tools/egcs-1.1.2/libiberty/floatformat.c
> > /usr/local/egcs/powerpc-linux/sys-include/__math.h: In function `atan2':
> > In file included from /usr/local/egcs/powerpc-linux/sys-include/math.h:208,
> >                  from ../../.././tools/egcs-1.1.2/libiberty/floatformat.c:21:
> 
>  I still don't know for which purpose the '.../sys-include' is needed, what to
> put into it and so on... But then I also have never used it for anything or 
> never seen anybody to use it either...

It is a place to stick .h files that come from a source outside the gcc
tree that you want gcc's build procedure to see.  For example, we used it
at one time with RTEMS to find the RTEMS OS limits.h so gcc could find it
when building the libraries.

If you are "magically" dropping in header files from another location,
then this is a good place to put them.

--joel
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985


_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]