Linux: Setting up Eclipse for Linux Source Code: Difference between revisions

From BS Wiki
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Setting up Eclipse in Ubuntu (Hirsute) ==
== Setting up Eclipse in Ubuntu (Hirsute) or in Mint 20.1 Cinnamon ==
# Download the installer from the [https://www.eclipse.org/downloads/ official website], untar it, and run it.
# Download the installer from the [https://www.eclipse.org/downloads/ official website], untar it, and run it.
# Launch Eclipse, select a work space location
# Launch Eclipse, select a work space location
Line 5: Line 5:
# In the new dialog window expand the <b>C/C++</b> tree, select <b>Existing Code as Makefile Project</b>, click the Next button
# In the new dialog window expand the <b>C/C++</b> tree, select <b>Existing Code as Makefile Project</b>, click the Next button
# Name the project, select the source code root directory, and select the desired compiler, click the Finish button
# Name the project, select the source code root directory, and select the desired compiler, click the Finish button
# Open up the terminal and navigate to the source root directory and configure the project
#:::<code>sudo ./configure</code>
# In the Project Explorer window, right-click on the project root and click on Build Project
# In the Project Explorer window, right-click on the project root and click on Build Project


See [[Linux: Acquiring Source Code]] for downloading the source code for a specific package.
See [[Linux: Acquiring Source Code]] for downloading the source code for a specific package.


See [[Linux: Compiling and Installing Source Code]] for compiling and installing.
See [[Linux: Compiling and Installing Source Code from the Terminal]] for compiling and installing.
----
----

Latest revision as of 21:12, 29 May 2021

Setting up Eclipse in Ubuntu (Hirsute) or in Mint 20.1 Cinnamon

  1. Download the installer from the official website, untar it, and run it.
  2. Launch Eclipse, select a work space location
  3. Select the File -> Import menu option
  4. In the new dialog window expand the C/C++ tree, select Existing Code as Makefile Project, click the Next button
  5. Name the project, select the source code root directory, and select the desired compiler, click the Finish button
  6. Open up the terminal and navigate to the source root directory and configure the project
    sudo ./configure
  7. In the Project Explorer window, right-click on the project root and click on Build Project


See Linux: Acquiring Source Code for downloading the source code for a specific package.

See Linux: Compiling and Installing Source Code from the Terminal for compiling and installing.