ext-linux-bin/gcc/docker.sh
lat9nq 54facbbf76 gcc: Add GCC 12.2 package files
Also updates build scripts.
2023-03-23 14:04:26 -04:00

14 lines
238 B
Bash

#!/bin/bash
set -e
THIS=$(readlink -e $0)
mkdir gcc/build
cd gcc/build
/src/gcc/configure --enable-languages=c,c++ --disable-multilib
make -j$(nproc)
mkdir gcc-$1 | true
make -j$(nproc) install DESTDIR=/src/gcc-$1
cp $THIS /src/gcc-$1