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

See the CrossGCC FAQ for lots more information.


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

Re: 2nd Stage of xGCC -- failure


Lukas Ruf wrote:
> 
> Hi Philip,
> 
> Ok, I managed to figure out who was copying this stuff: it must have
> been the glibc build process:
> 
> ./arm-linux/include/bits/mathinline.h
> ./arm-linux/arm-linux/sys-include/bits/mathinline.h
> ./src/glibc-2.2.2/sysdeps/alpha/fpu/bits/mathinline.h
> ./src/glibc-2.2.2/sysdeps/generic/bits/mathinline.h
> ./src/glibc-2.2.2/sysdeps/i386/fpu/bits/mathinline.h
> ./src/glibc-2.2.2/sysdeps/m68k/fpu/switch/bits/mathinline.h
> ./src/glibc-2.2.2/sysdeps/m68k/fpu/bits/mathinline.h
> ./src/glibc-2.2.2/sysdeps/powerpc/fpu/bits/mathinline.h
> ./src/glibc-2.2.2/sysdeps/sparc/fpu/bits/mathinline.h
> 
> I checked to which of the above mentioned files
> ./arm-linux/arm-linux/sys-include/bits/mathinline.h
> is equal to.  It is the one from i386.
> 
> This is rathter strange to me because I configured it with
> 
> configure -target=arm-linux --prefix=/home/ruf/Cross/arm-linux

Shouldn't that be "--target"?  Is there a chance the lack of
two "-"'s is causing the problem?

> I checked to which of the above mentioned files
> ./arm-linux/arm-linux/sys-include/bits/mathinline.h
> is equal to.  It is the one from i386.
> 
> Is there a possibility to configure an ARM GCC C++ without fpu support?
> Does this work then for creating a linux binary for ARM?
> 
> Thanks in advance,
> 
> Lukas
> 
> On Thu, 12 Apr 2001, Philip Blundell wrote:
> 
> > >#define __llrint_code \
> > >  long long int __llrintres;                  \
> > >  __asm__ __volatile__                    \
> > >    ("fistpll %0"                   \
> > >     : "=m" (__llrintres) : "t" (__x) : "st");              \
> > >  return __llrintres
> > >__MATH_INLINE long long int
> >
> > This is totally not ARM code.  You need to find out where the macro is coming
> > from and stop that from happening.
> >
> > p.
> >
> >
> >
> > ------
> > Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
> 
> --
> Lukas Ruf                        Swiss Federal Institute of Technology
> Office: ETZ-G61.2                             Computer Engineering and
> Phone: +41/1/632 7312                        Networks Laboratory (TIK)
> Fax:   +41/1/632 1035                                      ETH Zentrum
> PGP 2.6: ID D20BA2ED;                                    Gloriastr. 35
> Fingerprint 6323 B9BC 9C8E 6563  B477 BADD FEA6 E6B7    CH-8092 Zurich
> 
> ------
> Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

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

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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