Eclipse for
embedded development:- A re-visit
Today we shall see some finer points of using
eclipse as a cross-compiler tool. Eclipse has almost everything in it
to be the perfect compiler for all your needs but more manuals need
to posted for meeting your specific requirement.
When i was going through my compilation i observed the following problems:-
- <math.h> library is not compiled properly along with the program. This can be solved by using the flags -lm. Also -lpthread flag can be used when compiling multi-threaded application.Eclipse screenshot-1
- Using gdb-debugger to test the program running on the target platform.This is one task where i faced a lot of challenges and i am quite happy i overcame it.This can be seen in the post here.
- Updating Eclipse plugins and software:-If you try to update eclipse behind a proxy server, you may face problems as it will show network failure. We cannot even connect to our remote target. This can be sorted out by manualling setting the network in preferences window. MAKE SURE YOU ONLY PROVIDE THE PROXY FOR HTTP ONLY AND NOT FOR SOCKS AND HTTP. Also add the device ip to the exception list.



