2. Updating the packages list using this command:
Code: Select all
sudo apt update
Code: Select all
sudo apt install build-essential
3. Optionally you can install the manual pages for these tools using this command:
Code: Select all
sudo apt-get install manpages-dev
Code: Select all
gcc --version
Code: Select all
gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Code: Select all
g++ --version
Code: Select all
g++ (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Running these Compiler from Inside Zeus
The Zeus compiler and tool configurations have an option to run the command using Bash. This equates to running the compiler or tool from inside the Linux subsystem.
This means you can run the Linux compilers inside Zeus and have the output captured in the editor.
For example the image below shows the compiler settings required:
The compiler command line used is as follows:
Code: Select all
g++ "$f" -g -o "$fb".o