Tags:
tag this topic
create new tag
view all tags
---+ Compilation tools: Editor, Compiler, Linker, Debugger, Make ---++ Exercise 1: check the student exercises Go through all the student exercises and check they work as expected. Is anything missing? Write the Makefiles for yesterday's !newCodeExamples. Write them in such a way that you can edit,compile,run all from within emacs. There is a folder _wrong_ in the newCodeExamples with a wrong attempt to calculate the Fibonacci series. Try to figure out what is wrong using debug print statements, which you can switch on and off with the #define DEBUG macro. Then try to debug the program with gdb. ---++ Exercise 2: eclipse Try to create the !newCodeExamples within eclipse and compile and run them with eclipse. The CDT perspective must be installed to do this. Try the debugger from within eclipse. I had a problem with the standard installation of gdb and eclipse. What would you do to try and solve this problem. This one is already quite a bit more elaborate but it shows typical problems that come up when preparing such a course. You will have to be able to solve such type of problems by yourself, even if it takes a lot of time. Searching for a solution will teach you plenty of things that you would have never expected. In a typical project progress is never steady. Usually you advance very fast at the beginning but there is a moment where you get blocked because something does not turn out to be the way you expected it to be. Sometimes your project does not advance for weeks, which can be very frustrating. However, these are the moments when you learn most because you learn how to NOT do things and through your searching you learn plenty of things completely uncorrelated with the problem you are trying to solve, but which can be very useful for a future problem, who do not even know about yet. -- %USERSIG{UliRaich - 2017-09-11}% ---++ Comments %COMMENT%
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2017-09-20
-
uli
Home
Site map
AFNOG web
Embedded_Systems web
IoT_Course_English web
IoT_Course_French web
Main web
Sandbox web
TWiki web
Embedded_Systems Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback