This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

running a C program on ECLIPSE

Note: This was originally posted on 9th December 2011 at http://forums.arm.com

hi all,
i stuck up with running a C program(project) on eclipse IDE,with out debugging.
i can able to debug with ARM cortexA8 RTSM,but unable to run it.
can anyone give detailed procedure for running the same.
by searching in the internet,all i get is for running cpp projects..using make file.
that procedure is not working for c projects.
it will be also helpful,if u explain make file and target building stuff related to c projects.
Parents
  • Note: This was originally posted on 16th December 2011 at http://forums.arm.com

    Thanks a lot for the information. now ,as per your instructions ,able to generate make file automatically and able to debug in Linux RTSM mode.
    but while trying to run the program directly , i am facing with error. the screen shots for the same are attached.
    and it will be helpful if you provide information on memory profiling i.e finding number of cycles(MCPS) for the program

    I see the issue. Right-click on your project in the Project Explorer view and click on Properties in the menu. In the Properties dialog, select the C/C++ Build tab, and then ensure the "Generate Makefiles automatically" is enabled. Then click OK to close the dialog. Now when you build, the makefile is generated and the build should complete. I don't know if this is intended or not, but it doesn't seem very obvious to me; I'll raise the issue internally within ARM.
Reply
  • Note: This was originally posted on 16th December 2011 at http://forums.arm.com

    Thanks a lot for the information. now ,as per your instructions ,able to generate make file automatically and able to debug in Linux RTSM mode.
    but while trying to run the program directly , i am facing with error. the screen shots for the same are attached.
    and it will be helpful if you provide information on memory profiling i.e finding number of cycles(MCPS) for the program

    I see the issue. Right-click on your project in the Project Explorer view and click on Properties in the menu. In the Properties dialog, select the C/C++ Build tab, and then ensure the "Generate Makefiles automatically" is enabled. Then click OK to close the dialog. Now when you build, the makefile is generated and the build should complete. I don't know if this is intended or not, but it doesn't seem very obvious to me; I'll raise the issue internally within ARM.
Children
No data