Skip to content

programming101dev/simple-port-forwarder

Repository files navigation

simple-port-forwarder Repository Guide

Welcome to the simple-port-forwardere repository. This guide will help you set up and run the provided scripts.

Table of Contents

  1. Cloning the Repository
  2. Prerequisites
  3. Running the generate-cmakelists.sh Script
  4. Running the change-compiler.sh Script
  5. Running the build.sh Script

Cloning the Repository

Clone the repository using the following command:

git clone https://github.com/programming101dev/simple-port-forwarder.git

Navigate to the cloned directory:

cd simple-port-forwarder

Ensure the scripts are executable:

chmod +x *.sh

Prerequisites

  • to ensure you have all of the required tools installed, run:
./check-env.sh

If you are missing tools follow these instructions.

Running the generate-cmakelists.sh Script

You will need to create the CMakeLists.txt file:

./generate-cmakelists.sh

Running the change-compiler.sh Script

Tell CMake which compiler you want to use:

./change-compiler.sh -c <compiler>

To the see the list of possible compilers:

cat supported_c_compilers.txt

Running the build.sh Script

To build the program run:

./build.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published