EasyManua.ls Logo

CONITEC GALEP-5 - Page 29

CONITEC GALEP-5
30 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Compile
OpenOCD has to be cross-compiled for ARM9:
A
fter compiling you'll find the binary “openocd” in the “src” directory.
Information and Details about OpenOCD
A
complete description of all OpenOCD features is outside the scope of this document. Here some links:
OpenOCD home page - here you'll find the complete documentation of the OpenOCD project:
http://openocd.berlios.de/web/
OpenOCD mailing list - a quite active mailing list through which the OpenOCD developers answer relevant
questions.
Informations about the GNU debugger (gdb) - you'll find a command reference on
http://www.cs.dal.ca/studentservices/refcards/gdbref.pdf
and the documentation on
http://sourceware.org/gdb/documentation
.
./configure --enable-galep5
# We use this for cross compiling...
PREFIX=/usr/local/carmeva/bin/compiler/gcc-3.4.1-glibc-2.3.3/
arm-9tdmi-linux-gnu/bin/arm-9tdmi-linux-gnu-
export PREFIX
# Build the stuff...
make CC=${PREFIX}gcc CPP=${PREFIX}gcc CXX=${PREFIX}gcc
# Strip the result...
${PREFIX}strip src/openocd