This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: printf of unsigned long long in ARM processors


On 9/20/05, Daniel Jacobowitz <drow@false.org> wrote:
> On Tue, Sep 20, 2005 at 12:33:14PM -0300, Andrés Moré wrote:
> > I'm compiling with this CFLAGS: "-txscale -mbig-endian" using "-W and
> > -Wall" with
> > Please note that the ARM processor is big endian.
> >
> > I have the following version of gcc and ld.
> >
> > arm-linux-gnueabi-gcc -v
> > Reading specs from
> > /toolchain/xscale_be/bin/../lib/gcc/arm-wrs-linux-gnueabi/3.4.4/specs
> > Configured with: /src/linux/src/gcc-3.4.4/configure --disable-nls
> > --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
> > --target=arm-linux-gnueabi --enable-languages=c,c++ --disable-checking
> > --enable-shared --enable-threads --disable-libmudflap --disable-libssp
> > --with-gnu-as --with-gnu-ld --prefix=/opt/arm --enable-symvers=gnu
> > --enable-__cxa_atexit
> > --with-build-sysroot=/install/arm-linux-gnueabi/libc
> > --with-sysroot=/opt/arm/arm-linux-gnueabi/libc --enable-threads
> > --enable-shared
> > Thread model: posix
> > gcc version 3.4.4
>
> It looks like you're using a WindRiver EABI configuration, but
> unpatched FSF sources.  And unpatched gcc 3.4.4 does not support the
> ARM EABI.  So naturally it doesn't work.  The fact that you needed to
> use a different specs file to get -txscale to work should have been a
> clue.
>
> --
> Daniel Jacobowitz
> CodeSourcery, LLC
>

Thanks for your time.

Regarding the gcc, I already got the compiler patched and working.
Even I can execute the code but I get this strange result about long
longs with printf.
Anyway, I'm going to double check the compiler.

Andrés


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