Home
Introduction to software development tools
Contents
1. ELG Reheat s Lae 1 Library foo LIBS foo bar LIBPATH Program prog c P Nice and friendly user manual full of examples http www scons org doc HTML scons user book 1 html a Introduction to software development tools a p i i F i So Copyright 2005 Michael Opdenacker k O Free Electrons Creative Commons Attribution ShareAlike 2 0 license gt Tes 1 i http free electrons com Dec 5 2005 riaal Embedded Linux development tools Source management Static code checkers Introduction to software development tools Copyright 2005 Michael Opdenacker O Fr ee E l ectrons Creative Commons Attribution ShareAlike 2 0 license Ge C http free electrons com Dec 5 2005 Splint http splint org from the University of Virginia gt GPL tool for statically checking C programs for security vulnerabilities and coding mistakes gt Today s Lint program for GNU Linux The successor of LClint P Very complete manual and documentation P Doesn t support C Introduction to software development tools Copyright 2005 Michael Opdenacker O Fr ee E l ectrons Creative Commons Attribution ShareAlike 2 0 license Ge http free electrons com Dec 5 2005 Embedded Linux development tools Debugging and analysis tools Memory checkers Introduction to software development tools Copyright 2005 Michael Opdenacker
2. http free electrons com Dec 5 2005 SCons 1 http www scons org ry mm OCONS Build your software better gt An alternative to make written in Python A successor of the Cons program written in Perl Takes care of all the compiling and dependency handling job Dependencies handled with MD5 checksums by default Running touch on source files will have no effect Also supports autoconf like capabilities checking for existing libraries headers or programs on the user system Unlike make autoconf automake no specific format Access to all Python syntax and scripting facilities Introduction to software development tools Copyright 2005 Michael Opdenacker O Fr ee E l ectrons Creative Commons Attribution ShareAlike 2 0 license Ge http free electrons com Dec 5 2005 SCons 2 gt Native support for lots of compiler based languages C C D Java Fortran Yacc Lex Qt and SWIG TeX and LaTeX Easily extensible through user defined builders Supports building on multiple platforms GNU Linux Unix Windows NT MacOS X OS 2 P Built in support for fetching source files from SCCS RCS CVS BitKeeper and Perforce P and many more features Introduction to software development tools Copyright 2005 Michael Opdenacker O Fr ee E l ectrons Creative Commons Attribution ShareAlike 2 0 license Ge http free electrons com Dec 5 2005 SCons 3 P Simple SConstruct file
3. compile your program to these platforms to use Valgrind Can detect many memory management and threading bugs P Profiler provides information helpful to speed up your program and reduce its memory usage gt The most popular tool for this usage Even used by projects with hundreds of programmers Introduction to software development tools Copyright 2005 Michael Opdenacker O Fr ee E l ectrons Creative Commons Attribution ShareAlike 2 0 license Ge http free electrons com Dec 5 2005 Valgrind 2 P Can be used to run any program without the need to recompile it gt Example usage valgrind leak check yes ls la gt Works by adding its own instrumentation to your code and then running in on its own virtual x86 core Significantly slows down execution but still fine for testing P More details on http valgrind org info and http Avalgrind org docs manual coregrind_core html howworks Introduction to software development tools Copyright 2005 Michael Opdenacker O Free Electrons Creative Commons Attribution ShareAlike 2 0 license e http free electrons com Dec 5 2005 17 Alleyoop http alleyoop sourceforge net leyg GAF AN File Eel Settings Help H J Run Kil Open Save source filename contains terminal Y Clear e Conditional jump or move depends on uninitialised value s Graphical front end to Valgrind at
4. set_palette terminal profile c 1 730 return FALSE gt if memcmp profile gt or gt palette new_palette TERMINAL PALETTE_SIZE sizeo Rule name set_palette mememp return FALSE suppress messages of type Cond E gt by terminal_profile update terminal profile c 1974 system call gt by sync_profile_list terminal c 1305 gt by main terminalc 1494 Call chain Iv Use of uninitialised value of size 4 b at set_palette terminal protile c 1 730 gt by terminal profile_update terminal protile c 1374 Grow Shrink gt by syne_profile_list terminal c 16065 aay E set_palete r b by main terminal c 1494 Function gt ee Function terminal_profile_update Function z sync_profile_list Function ls main v Conditional jump or move depends on uninitialised val b at set_palette terminal profile c 1730 gt by terminal profile_update terminal profile c 19 4 gt by sync_profile_list terminal c 1305 gt by main terminal c 1494 Introduction to software development tools Copyright 2005 Michael Opdenacker Creative Commons Attribution ShareAlike 2 0 license Tu il 1 g http free electrons com Dec 5 2005 ma Free Electrons ElectricFence efence GNU GPL from Bruce Perens http directory fsf org devel debug ElectricFence html P Stops your program on the exact instruction that overruns or underruns a malloc me
5. E Dec 5 2005 http free electrons com How to help If you support this work you can help P By sending corrections suggestions contributions and translations P By asking your organization to order training sessions performed by the author of these documents see http free electrons com training P By speaking about it to your friends colleagues and local Free Software community P By adding links to our on line materials on your website to increase their visibility in search engine results Introduction to software development tools Copyright 2005 Michael Opdenacker O Fr ee E l ectrons Creative Commons Attribution ShareAlike 2 0 license Ge http free electrons com Dec 5 2005 Thanks P To the OpenOffice org project for their presentation and word processor tools which satisfied all my needs P To the Handhelds org community for giving me so much help and so many opportunities to help To the members of the whole Free Software and Open Source community for sharing the best of themselves their work their knowledge their friendship Introduction to software development tools Copyright 2005 Michael Opdenacker O Fr ee E l ectrons Creative Commons Attribution ShareAlike 2 0 license Ge http free electrons com Dec 5 2005
6. Introduction to software development tools N Introduction to software development tools Michael Opdenacker Free Electrons 4 http free electrons com Created with OpenOffice org 2 0 ToS to Nicolas Rougier Copyright 2003 http webloria loria fr rougier for the Tux image Introduction to software development tools Copyright 2005 Michael Opdenacker O Fr ee E l ectrons Creative Commons Attribution ShareAlike 2 0 license e S http free electrons com Dec 5 2005 Rights to copy eran ive Eommons O N 5 D EE D Attribution ShareAlike 2 0 Copyr ight 2005 You are free Michael Opdenacker to copy distribute display and perform the work michael free electrons com to make derivative works so makecommeccutuceccine work Document sources updates and translations Under the following conditions http free electrons com articles swdev Attribution You must give the original author credit Share Alike If you alter transform or build upon this work l you may distribute the resulting work only under a license translations are welcome identical to this one Corrections suggestions contributions and For any reuse or distribution you must make clear to others the license terms of this work Any of these conditions can be waived if you get permission from the copyright holder Your fair use and other rights are in no way affected by the above License text http crea
7. O Fr ee E l ectrons Creative Commons Attribution ShareAlike 2 0 license Ge C http free electrons com Dec 5 2005 GNU Checker http gnu org software checker GNU GPL tool to find memory errors at runtime P Detects reading uninitialized memory writing in a freed zone accesses outside of allocated memory and using NULL pointers Garbage collector can display all memory leaks gt Works by replacing glibc s malloc library by its own Usage checkergcc o example example c 2 Supports only Intel GNU Linux Sparc Sun Solaris Latest release in 1998 Introduction to software development tools O Copyright 2005 Michael Opdenacker Free Electrons Creative Commons Attribution ShareAlike 2 0 license http free electrons com Dec 5 2005 14 memcheck http hald dnsalias net projects memcheck gt GNU GPL tool for dynamic memory checking gt Works by replacing glibc s memory management functions by its own Supports many GNU Linux and other Unix architectures unlike GNU Checker 1386 arm alpha 1a64 Many others not tested Introduction to software development tools Copyright 2005 Michael Opdenacker O Free Electrons Creative Commons Attribution ShareAlike 2 0 license http free electrons com Dec 5 2005 15 Valgrind 1 http valgrind org gt GNU GPL Software suite for debugging and profiling programs P Supported platforms x86 x86 64 ppc Others
8. mmons Attribution ShareAlike 2 0 license Ge C http free electrons com Dec 5 2005 GNU toolchain flow simplified Developer User Check for required Makefile in libraries Generate Makefile Makefile Introduction to software development tools Copyright 2005 Michael Opdenacker O F ree E l ectrons Creative Commons Attribution ShareAlike 2 0 license e http free electrons com Dec 5 2005 GNU toolchain strengths and weaknesses Universal solution for Unix systems Difficult for developers to master Still used to build most Free Software C 2 Lots of details to learn and understand and C programs in particular in GNU Tedious documentation Very powerful and easy for end users configure prefix opt make make check make install 2 Multiple input and output files 2 Causes of check failures on the user side sometimes not very easy to figure out See http freshmeat net articles view 889 http freshmeat net articles view 1702 and http freshmeat net articles view 1715 for discussions about the limitations of autoconf 32 Causes of check failures on the user side sometimes not easy to figure out J No standard configure options automake make and alternatives Output very complex Makefiles Introduction to software development tools Copyright 2005 Michael Opdenacker O Fr ee E l ectrons Creative Commons Attribution ShareAlike 2 0 license Ge
9. mory buffer P GDB will then display the source code line that causes the bug Works by using the virtual memory hardware to create a red zone at the border of each buffer touch that and your program stops Supposed to work on any platform supported by Linux whatever the cpu provided virtual memory support is available Introduction to software development tools Copyright 2005 Michael Opdenacker O Fr ee E l ectrons Creative Commons Attribution ShareAlike 2 0 license Ge http free electrons com Dec 5 2005 Related documents This document belongs to the more than 1000 page materials of an embedded GNU Linux training from Free Electrons available under a free documentation license http free electrons com training P Linux on TI OMAP processors Introduction to Unix and GNU Linux P Free Software development tools Embedded Linux kernel and driver development P Introduction to uClinux P Real time in embedded Linux systems B What s new in Linux 2 6 Java in embedded Linux systems Free Software tools for embedded Linux systems P Audio in embedded Linux systems Multimedia in embedded Linux systems How to port Linux on a new PDA http free electrons com articles P Embedded Linux optimizations Embedded Linux from Scratch in 40 min Introduction to software development tools Copyright 2005 Michael Opdenacker O Free Electrons Creative Commons Attribution ShareAlike 2 0 license
10. tivecommons org licenses by sa 2 0 legalcode Introduction to software development tools Copyright 2005 Michael Opdenacker O Fr ee E l ectrons Creative Commons Attribution ShareAlike 2 0 license Ge http free electrons com Dec 5 2005 Best viewed with This document 1s best viewed with a recent PDF reader or with OpenOffice org itself gt Take advantage of internal or external hyperlinks So don t hesitate to click on them P Find pages quickly thanks to automatic search P Use thumbnails to navigate in the document in a quick way If you re reading a paper or HTML copy you should get your copy in PDF or OpenOffice org format on http free electrons com articles swdev Introduction to software development tools Copyright 2005 Michael Opdenacker O Fr ee E l ectrons Creative Commons Attribution ShareAlike 2 0 license Ge http free electrons com Dec 5 2005 Contents Source management gt Program build automation P Static code checkers gt Memory checkers Introduction to software development tools Copyright 2005 Michael Opdenacker O Fr ee E l ectrons Creative Commons Attribution ShareAlike 2 0 license C http free electrons com Dec 5 2005 Embedded Linux development tools Source management Program build automation Introduction to software development tools Copyright 2005 Michael Opdenacker O Fr ee E l ectrons Creative Co
Download Pdf Manuals
Related Search
Related Contents
Informazioni Prodotto Dell 430 Laptop User Manual notice d`utilisation generale d`utilisation des caissons SOLAR PUMP KIT USER`S MANUAL Copyright © All rights reserved.
Failed to retrieve file