1

Hi Im trying to crosscompile gdbserver to mips architecture . I'v donwloaded gdb 7-12 and after running configure

./configure --host=mips-linux-gnu

Im getting an error

Makefile:263: recipe for target 'linux-mips-low.o' failed
make: *** [linux-mips-low.o] Error 1

Does anyone knows how to fix this error since google does not give me an answer ?

1 Answer 1

1

Take a look on the follow link, they teach to cross compile and use the gdb for powerpc processor architecture, i had used the same method to cross compile to ARM.

https://www.linux.com/news/remote-cross-target-debugging-gdb-and-gdbserver

in my case, using the above tutorial, what i did was:

./configure --prefix=~/build-workplace/gdb/final --host=arm-none-linux CC=/*arm-sysroot*/arm-none-linux-gnueabi-gcc AR=/*arm-sysroot*/arm-none-linux-gnueabi-ar RANLIB=/*arm-sysroot*/arm-none-linux-gnueabi-ranlib

thanks and best regards.

2
  • Is there something at that site that addresses the specific problem the OP is having? If so, could you summarize it here?
    – Adam
    Commented Aug 10, 2017 at 15:56
  • 2
    Sure Adam, the site is a tutorial to cross compile the gdb server. But i will edit and summarize the steps in my answer.
    – gorn
    Commented Aug 11, 2017 at 12:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .