hi, You may refer to the following post, which has a build script. http://gcc.gnu.org/ml/gcc/2003-10/msg01339.html Thanks, Neo yang xiaoli wrote: > I'll corss-compile gdb for arm board, will use gdb to debug on arm board. > I use gdb6.0 or gdb6.3 and configure with: > CC=arm-linux-gcc ../gdb-6.3/configure --target=arm-linux \ > --build=arm-linux --host=arm-linux > > and has error when make: > checking whether make sets $(MAKE)... (cached) yes > checking for arm-linux-gcc ...(cached) arm-linux-gcc > checking for c Compiler default output in a.out > checking whether the c compiler makes in > configure:error: cannot run c compiled programs > > if you meant to cross compile usr "--host" > see 'config.log' for more details > > I don't know how to do with it ,something wrong? > > _________________________________________________________________ > Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn -- I would remember that if researchers were not ambitions probably today we haven't the technology we are using!