Introduction Purpose • This training course introduces the free GNU tools that can be used for debugging embedded system application software in the Renesas HEW (High-performance Embedded Workshop) integrated development environment. Objectives • Learn about the history, license, benefits, prerequisites, and other basic aspects of GNU tools. • Understand GNU terminology and toolchain contents. • Learn basic facts about KPIT GNU tools and credentials. • Know where to go for additional information Content • 18 pages • 2 questions Learning Time • 35 minutes
18
Embed
Introduction Purpose This training course introduces the free GNU tools that can be used for debugging embedded system application software in the Renesas.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Introduction
Purpose • This training course introduces the free GNU tools that can be used for
debugging embedded system application software in the Renesas HEW (High-performance Embedded Workshop) integrated development environment.
Objectives • Learn about the history, license, benefits, prerequisites, and other basic
aspects of GNU tools.
• Understand GNU terminology and toolchain contents.
• Learn basic facts about KPIT GNU tools and credentials.
• Know where to go for additional information
Content• 18 pages • 2 questions
Learning Time• 35 minutes
• Recursive acronym for "GNU's Not Unix“
• UNIX-compatible software system
• GNU project is “Free software” developed by Free Software Foundation (FSF), founded by Richard Stallman
• GNU General Public License (GPL) — Intended to guarantee the freedom to share and change free software
What Is GNU?
1983 1984 1985 1989
Plan for G
NU project announced by Stallm
an
Software development s
tarted
1991
FSF established by Stallm
an
First v
ersion of GNU G
PL released
GNU/Linux: Integrated combinatio
n of GNU
operatin
g system with
the “Linux Kernel”
writt
en by Linus Torvalds in 1991
History of GNU
Basic GNU Philosophy: Produce open, non-proprietary software
GNU operating system is free software
- Gives users freedom to run, copy, distribute, study, change, and improve the software
- Has only one restriction: Users cannot limit further redistribution
- Provides freedom that is a matter of liberty, not price
GNU Freedom, Benefits
Because GNU software is open, it …
- Is fast, powerful, and more portable than its proprietary counterparts
- Evolves more rapidly than proprietary code, since users who want to make improvements are free to do so
GPL allows you to:
• Redistribute copies of free software
• Obtain the source code
• Change the source code or use pieces of it in new free programs
However. . .
• Changed source code must also be under GPL
General Public License
For more information:
http://www.gnu.org/licenses/gpl-faq.html
http://www.gnu.org/philosophy/selling.html
GNUCompiler
GNU Debugger
GNU Assembler
GNU Linker
Other utilities
Binutils
GNU Tools
What are GNU Tools?
• Complete set of tools for development of application software for embedded systems.
CLibraries
Cost Available freely in source format
Host platform Easily ported to multiple host platforms, such as Windows, Unix, and Linux
Target platform Support available for a wide range of target CPUs, and new CPUs can be added easily
Language Support provided for all widely-used and standardized compiler languages: C, C++, Java, Ada, Fortran
Obsolescence Not an issue, due to open-source implementation
• Standard Libraries (newlib):http://sourceware.org/newlib/
• GNU Debugger (gdb): http://sourceware.org/gdb/
• GNU Packages:http://www.gnu.org/softwarehttp://directory.fsf.org/GNU
http://ftp.gnu.org
Sources for More Information
Match each GNU item to the most appropriate explanation by dragging the letters on the left to the correct locations on the right. Click Done when you are finished.
GDB
BinutilsB D
Done ResetShow
Solution
AGNU source-level debugger that lets you see what is going on “inside” your programA
C GCC
Executes in one system but can produce programs that run in a different system
B Contain the source code of the assembler, linker, and other binary utilities
D Cross Compiler CCompiler source code that includes front ends for C, C++, Objective-C, Fortran, Java, and ADA
Question
• Basic information about GNU tools
• Reasons for using them
• Prerequisites for using them
• KPIT GNU tools
• References
Course Summary
For more information, please visit our Web site:http://america.renesas.com