开发者

cross compiling with Eclipse on linux and eclipse on windows?

开发者 https://www.devze.com 2023-02-23 01:02 出处:网络
I am pretty much new to embedded device programming world so pardon my ignorance if any. I am cross compiling a C++ program on arm architecture with eclipse on ubuntu.

I am pretty much new to embedded device programming world so pardon my ignorance if any.

I am cross compiling a C++ program on arm architecture with eclipse on ubuntu. Then i have to burn the code and see the output with the device that has a linux kernel in it.

Then i came across a tutorial about cross compiling C++ program on开发者_运维百科 arm architecture with eclipse on Windows. So my question is, Can i run this program (from windows) on my embedded device which has a linux kernel in it????

Thanks A


If you are using a cross compiler, then the answer is yes. It should produce a linux libraries and executive file. You might need to adjust the files parameters (like set permissions and execute flag).


Yes.

eclipse is a great tool, especially when coupled with gcc. You can definitely use a ready-built compiler to extend eclipse as long as that compiler is available for Windows.

Here is a link to some documentation on how to change the toolchain in an eclipse project - http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.cdt.doc.user/reference/cdt_u_prop_build_toolchain.htm

0

精彩评论

暂无评论...
验证码 换一张
取 消