compiling 'gdbserver' with uclibc toolchain

Aug 09, 2005 0 Replies

Hello, All!



Tried to compile gdbserver-6.3 for ARM target and failed. I'm using uClibc-0.9.15 and following these steps:



1) cd $GDB_SRC/gdbserver
2) ./configure --target=arm-linux
3) make CC=${CROSS_COMPILE}gcc LD=${CROSS_COMPILE}ld

Got the error:



/opt/toolchain/arm/gcc-3.2/toolchain/bin/arm-linux-gcc -c -Wall -g -O2 -I. -I. -I./..regformats -I.../..include -I..../bfd -I...../bfd linux-arm low.c linux-arm-low.c:26:21: sys/reg.h: No such file or directory



Seems like it expects sys/reg.h in GDB source directory?



With best regards, Roman Mashak. E-mail: snipped-for-privacy@tusur.ru


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required