Skip to content

Contains all the lab material for the Computer Networks course at Uniba

License

Notifications You must be signed in to change notification settings

collab-uniba/lab-reti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab package for Corso di Reti di Calcolatori

Outline

Install Eclipse

Download Eclipse IDE for C/C++ Developers from http://www.eclipse.org/downloads/packages. Make sure to select the right package for your architecture and OS.

Install GCC

The installation steps for the GNU C Compiler (GCC) depend on your OS.

Mac OS X

  1. Install Homebrew
  2. Install Xcode Command Line tools (without Xcode). If you have Xcode already installed, this step is likely unnecessary. From the terminal, run the following and then select Install:
$ xcode-select --install
  1. Double-check that everything works by running:
$ gcc --version
  1. To configure the lldb debugger (Xcode own debugger), first launch Eclipse; then:

    1. Go to Help > Install new Software
    2. Select the CDT update site (9.5 or greater) from the dropdown list
    3. Under CDT Optional Features, select C/C++ LLDB Debugger Integration
    4. From now on, for each project, right-click to show the context menu and select Debug as > Debug Configurations...; then, change or update the debug configuration from GDB to LLDB, as shown in the pic below.

    alt text

    1. For more information, see the Official wiki support page.

Linux (Debian derivative distros)

  1. From the terminal, run:
$ apt install build-essential -y
  1. Double-check that everything works by running:
$ gcc --version

Windows

  1. Install chocolatey
  2. From the command line, run:
> choco install mingw -y
  1. Double-check that everything works by running:
> refreshenv
> gcc --version

Those who might have issues in setting up MinGW may instead install the Windows Subsystem for Linux (WSL) and use gcc from the Bash shell, after also following the instructions above.

About

Contains all the lab material for the Computer Networks course at Uniba

Topics

Resources

License

Stars

Watchers

Forks

Languages