Hi

after Yuri wrote that dietlibc cvs works for him, I've tried to compile
it myself on a qemu emulated ARM (prebuid debian lenny from
http://people.debian.org/~aurel32/qemu/armel/).

CVS seems not to work if you are compiling on a "real" arm, instead of
crosscompiling. I get the same error as Martin.

> bin-arm/diet gcc -D__dietlibc__ -pipe -nostdinc -Os -fomit-frame-pointer 
> -fstrict-aliasing -mabi=aapcs-linux -mfloat-abi=soft -mno-thumb-interwork -W 
> -Wall -Wextra -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations 
> -Wno-switch -Wno-unused -Wredundant-decls -o bin-arm/elftrunc 
> contrib/elftrunc.c
> make: *** [bin-arm/elftrunc] Segmentation fault

The problem is the call to bin-arm/diet, that is where the Segmentation
fault comes from. As the emulated Arch (armv5tejl) is not recognized by
the makefile, I've tried to build the dietlibc with:

make MYARCH=arm

Are there any tips or hints how to make dietlibc work with EABI?

cu
        Mathias



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to