![]() Linker for dynamic libs : arm-none-linux-gnueabi-g++ ![]() Under the Program Files tab make sure the settings are as below :Ĭ compiler : arm-none-linux-gnueabi-gcc-4.4.3Ĭ++ compiler : arm-none-linux-gnueabi-c++ The Compiler’s installation directory is /opt/FriendlyARM/toolschain/4.4.3/įor installation procedure of cross compiler read the previous post here. This part is the most important part of Compiler settings.Please take care to select as per screenshot below : Under selected compiler make sure that the entry is GNU ARM GCC Compiler. Select the Compiler as “ GNU ARM GCC Compiler”.Ĭlick Next to see the Workspace window.To the left hand side under Projects tab you can see the project name “welcome” & if you expand Sources you can see main.c file automatically created.Double click this main.c file.īy default, a sample Hello world program is presented.Īs we are cross compiling the program for ARM platform ,we’ve to do the Compiler settings as below: ![]() Select Console Application ,click Go button & in the next window select C as the language.Ĭlick Next & provide a name for your project,e.g., welcome. Install Code Blocks using the Ubuntu Software Center.Just type code blocks in the search box & click install.Īfter installation ,the Code Blocks icon appears on the Launch bar.Ĭlick the Icon to fire Up Code Blocks.To start a new program Click Create New Project button. In this post I shall demonstrate the ways of developing programs for mini2440 using Code Blocks.Ĭode Blocks is a free cross platform IDE with powerful features.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |