Nadeem
Nadeem

Reputation: 75

cross compiling with Eclipse on linux and eclipse on windows?

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

Upvotes: 1

Views: 2631

Answers (2)

BЈовић
BЈовић

Reputation: 64283

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).

Upvotes: 1

tamarintech
tamarintech

Reputation: 1992

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

Upvotes: 0

Related Questions