Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » From " run" to "compile" to "edit text" ???(cross-compiling on Eclipse )
From " run" to "compile" to "edit text" ??? [message #1799162] Fri, 30 November 2018 18:53 Go to next message
Anne Creek is currently offline Anne CreekFriend
Messages: 275
Registered: September 2014
Senior Member
Perhaps the "question" is little confusing to some, perhaps in wrong forum?

My (final ) objective is to execute C++ code on Raspberry Zero.

To accomplish that I am finding it would help ME to analyse the entire process backward - not starting from text editor , but starting with the final C++ code objective.

There are way too many options when I did try to analyse going forward. simple as that.

I like to have answers for these basic points I am not sure about.

The application "runs" on hardware - Raspberry Pi Zero - technologically non-descriptive "product" name. Such hardware is called "armv6l" ( in Linux result of "lscpu").

This hardware is supported by "Rasbian " operating system - with again technologically non-descriptive name such as Jessie , Strech .... ( perhaps Stinky Pete is next?)

Here comes the fun part.

The final software is being developed as a result of cross-compiling process.
Cross-compiling is a mature, run of the mill , no magic , well defined etc process.

As such it has to have "options" --"build" , --"host", --"target".

This is where it gets convoluted.

Statement
Cross-compiling / linking is a product of "make" .
These "options" get passed to "Make" .
"makefile" is "automatically " generated by Eclipse (?) .


Response
Here is a partial output of "make / makefile" compilation / linking process. I have no control over how "makefile " is build.


--build=x86_64-linux-gnu --host=x86_64-linux-gnu target=arm-linux-gnueabihf


I understand "build" - on x86_64-linux-gnu.

But what does "host" do ?


Where is the "option" to tell "make / crosscompile " to "run" the application on "armv6l'?

Thanks for reading.














Re: From " run" to "compile" to "edit text" ??? [message #1799170 is a reply to message #1799162] Fri, 30 November 2018 22:25 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30896
Registered: July 2009
Senior Member
If your question is about the C/C++ development tools, I would again suggest posting to the CDT forum:

https://www.eclipse.org/forums/index.php?frm_id=80

If it's related to TCF, I don't see that you've posted on their mailing list:

https://www.eclipse.org/lists/tcf-dev/

Note that this post of yours is not likely to produce any results, but I've explained that already:

https://www.eclipse.org/forums/index.php/t/1096371/

If your question isn't specifically about any of Eclipse's tooling, then you're not in the right place at all...
Re: From " run" to "compile" to "edit text" ??? [message #1799198 is a reply to message #1799170] Sat, 01 December 2018 14:53 Go to previous message
Anne Creek is currently offline Anne CreekFriend
Messages: 275
Registered: September 2014
Senior Member
Found this to get me started :
https://gnu-mcu-eclipse.github.io/toolchain/arm/install/
Previous Topic:Unable to Resolve Host Names for Any Repositories
Next Topic:HTML previews
Goto Forum:
  


Current Time: Sat Feb 22 10:51:36 GMT 2020

Powered by FUDForum. Page generated in 0.10162 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top