a radical and experimental distribution based on musl libc and busybox http://sabo.xyz
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
510 B

tarxf ftp://gcc.gnu.org/pub/gcc/releases/gcc-4.5.3/ gcc-core-4.5.3 .tar.bz2 gcc-4.5.3
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
CFLAGS=-D_GNU_SOURCE ./configure --with-newlib --with-headers=no --prefix=/ \
--disable-multilib --disable-nls --disable-shared --disable-mudflap \
--disable-libmudflap --disable-libssp --disable-libgomp \
--libdir=/lib --libexecdir=/lib --mandir=/share/man --infodir=/share/info
make BOOT_LDFLAGS="-static" bootstrap
make -j1 DESTDIR=$R install
ln -sf gcc $R/bin/cc