This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
first_example [2018/03/09 15:46] – [Example on mpc5200] ursgraf | first_example [2019/11/06 12:22] – ursgraf | ||
---|---|---|---|
Line 2: | Line 2: | ||
This example will demonstrate how to use the deep compiler to translate a simple Java program and run it on a mpc555 target platform. | This example will demonstrate how to use the deep compiler to translate a simple Java program and run it on a mpc555 target platform. | ||
- | - Start eclipse, choose a new workspace and open the deep perspective with //Window -> Open Perspective -> Deep//. | + | - Start eclipse, choose a new workspace and open the deep perspective with //Window -> Open Perspective |
- Create a new deep project with //File// -> //New// -> select // | - Create a new deep project with //File// -> //New// -> select // | ||
- On the Target Library wizard page you have to choose where the deep target runtime library is located. Browse to the location where you've installed the library. \\ If you're working on a NTB-PC, you can simply leave the box //Use default library path// checked and click //Next//. \\ {{targetlibrary.png? | - On the Target Library wizard page you have to choose where the deep target runtime library is located. Browse to the location where you've installed the library. \\ If you're working on a NTB-PC, you can simply leave the box //Use default library path// checked and click //Next//. \\ {{targetlibrary.png? | ||
Line 31: | Line 31: | ||
// 3) Say hello to the world | // 3) Say hello to the world | ||
- | System.out.println(" | + | System.out.println(" |
} | } | ||
} | } | ||
Line 88: | Line 88: | ||
// Print a string to the stdout | // Print a string to the stdout | ||
- | System.out.println(" | + | System.out.println(" |
} | } | ||
} | } |