Andes Workshop
http://forum.andestech.com/

Build gdbserver with BSP320
http://forum.andestech.com/viewtopic.php?f=16&t=783
Page 1 of 1

Author:  ianfeng [ Wed Jan 15, 2014 5:18 pm ]
Post subject:  Build gdbserver with BSP320

To build gdbserver, with following shell script.
Attachment:
build_gdbserver.sh.txt [8.33 KiB]
Downloaded 693 times
Change file name to "build_gdbserver.sh".

Usage of shell script:
Attachment:
readme_gdbserver.txt [1.1 KiB]
Downloaded 799 times


To build gdbserver:
1. With gdbserver.tgz:
Code:
#!/bin/sh
sh -x ./build_gdbserver.sh \
--src-file=`pwd`/gdbserver.tgz \
--use-toolchain-dir=/home/coder/BSPv320/toolchains/nds32le-linux-glibc-v3

2. With "gdb-7.3" folder (un-tar gdbserver.tgz):
Code:
#!/bin/sh
sh -x ./build_gdbserver.sh \
--src-dir=`pwd`/gdb-7.3 \
--use-toolchain-dir=/home/coder/BSPv320/toolchains/nds32le-linux-glibc-v3

The output binary gdbserver are in "install\" folder by default.

===== Fixing =====
Will be fixed in BSPv321.

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/