Linux: Setting up Eclipse for Linux Source Code

From BS Wiki
Revision as of 21:12, 29 May 2021 by Bs (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.