Skip to content

Commit

Permalink
Build netcat as part of toolchain.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalmiel committed Nov 7, 2023
1 parent e96ad3e commit f93fc62
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sysroot/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ function _gcc {
pushd .

cd $GCC_BUILD_DIR
$GCC_SRC_DIR/configure --target=$TRIPLE --prefix="$CROSS" --with-sysroot=$SYSROOT --enable-languages=c,c++ --enable-threads=posix --enable-shared
$GCC_SRC_DIR/configure --target=$TRIPLE --prefix="$CROSS" --with-sysroot=$SYSROOT --enable-languages=c,c++ --enable-threads=posix --enable-shared --without-headers

popd

Expand Down
9 changes: 6 additions & 3 deletions sysroot/toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ $SPATH/build.sh binutils > $LOGDIR/binutils.log 2>&1
echo "Building gcc..."
$SPATH/build.sh gcc > $LOGDIR/gcc.log 2>&1

echo "Building mlibc..."
$SPATH/build.sh mlibc > $LOGDIR/mlibc.log 2>&1

echo "Building libgcc..."
$SPATH/build.sh libgcc > $LOGDIR/libgcc.log 2>&1

echo "Building mlibc..."
$SPATH/build.sh mlibc > $LOGDIR/mlibc.log 2>&1

echo "Building libstdc++..."
$SPATH/build.sh libstd > $LOGDIR/libstd.log 2>&1

Expand Down Expand Up @@ -63,6 +63,9 @@ $SPATH/build.sh cykusz_zstd > $LOGDIR/cykusz_zstd.log 2>&1

echo "Cross building less..."
$SPATH/build.sh cykusz_less > $LOGDIR/cykusz_less.log 2>&1

echo "Cross building netcat..."
$SPATH/build.sh cykusz_netcat > $LOGDIR/cykusz_netcat.log 2>&1
#
#echo "Cross building llvm..."
#$SPATH/build.sh cykusz_llvm > $LOGDIR/cykusz_llvm.log 2>&1
Expand Down

0 comments on commit f93fc62

Please sign in to comment.