10.09.2016 Views

Hacking_and_Penetration_Testing_with_Low_Power_Devices

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

74 CHAPTER 4 Filling the toolbox<br />

under C/C++ Build. Ensure the correct compiler is invoked by prepending “armlinux-gnueabihf-”<br />

to the compiler invocation comm<strong>and</strong> for both G++ <strong>and</strong> GCC as<br />

shown in Figure 4.5.<br />

The include <strong>and</strong> library directories are set in the project properties Paths <strong>and</strong><br />

Symbols under C/C++ General. Ensure that the correct header files <strong>and</strong> library directories<br />

are listed as shown in Figure 4.6. Assuming all dependent files are installed,<br />

you should now be ready to build the project. The resulting executable can then be<br />

copied to your Beagle using scp or another utility.<br />

Creating new projects<br />

Creating your own projects in Eclipse is very similar to the procedure described<br />

above for importing an existing project. The only difference is that you would select<br />

C or C++ project from the New Project dialog. This same technique can be used for<br />

any projects that lack a Makefile.<br />

FIGURE 4.5<br />

Setting compiler paths in Eclipse.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!