Skip to content

Devel-env is aimed to set the development environment up on Linux server WITHOUT root privileges.

Notifications You must be signed in to change notification settings

adonis0147/devel-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devel-env

Devel-env is aimed to set the development environment up on Linux server WITHOUT root privileges.

It provides the following stuffs:

  1. GCC toolchain (GCC 14.1 + GLIBC 2.39) - relocated by patchelf
  2. Toolset - built from source manually

TIPS: The GCC toolchain can be used standalone.


GCC Toolchain

Generation

  1. Build the docker image. CAVEAT: It may take TOO TOO LONG time to finish on ARM64 platform (e.g. macOS with Apple Silicon). It is recommended to download it from the release page.
cd toolchain
docker build --platform=linux/x86-64 -t toolchain .
  1. Generate the toolchain.
mkdir output
docker run --platform=linux/x86-64 --rm --mount type=bind,source="$(pwd)/output",target=/output toolchain
  1. Usage
# Copy the output/install_toolchain.sh to the target server and run the following commands.
./install_toolchain.sh <some path>
export PATH="<some path>/compiler/bin:${PATH}"

Toolset

Install the toolset

cp output/install_toolchain.sh devel/scripts

# Download the packages
bash devel/downloads/download_packages.sh

# Copy the whole devel directory to the target server (e.g. ${HOME}/.local/share/devel) and run the following commands.

# Optional: DEVEL_HOME_PATH="${HOME}/.local/share/devel" by default.
export DEVEL_HOME_PATH="<some devel home path>"

cd "some/path/devel/scripts"
./install.sh

Usage

source "some/path/devel/scripts/env_vars.sh"

About

Devel-env is aimed to set the development environment up on Linux server WITHOUT root privileges.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published