Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #===================================================================#
- # __ #
- # __ /\ \ #
- # ____/\_\ ___ \_\ \ __ ___ #
- # /',__\/\ \ /' _ `\ /'_` \ /'__`\/' _ `\ #
- # /\__, `\ \ \/\ \/\ \/\ \L\ \/\ __//\ \/\ \ #
- # \/\____/\ \_\ \_\ \_\ \___,_\ \____\ \_\ \_\ #
- # \/___/ \/_/\/_/\/_/\/__,_ /\/____/\/_/\/_/ #
- # >> Coded By Sinden @Obtect #
- # Shoutout to: LiGhT, RoBeRt, Proxy, Code #
- # #
- # [+] Site : Sinden.info #
- # [+] Support e-mail : Admin[at]Sinden.info #
- # #
- #===================================================================#
- ###
- # Title: Auto Cross Compiler
- # Date: 11/07/2015
- ###
- if [ $# != 1 ]; then
- echo "Usage: sh $0 [BOT]"
- exit 0
- fi
- # B1-B7 Is Botname Define it yourself! #
- B1='mipsel'
- B2='mips'
- B3='sh4'
- B4='x86_64'
- B5='armv6l'
- B6='i686'
- B7='ppc'
- ./cross-compiler-mipsel/bin/mipsel-gcc -static -lpthread -pthread -DMIPSEL -o $B1 $1
- ./cross-compiler-mips/bin/mips-gcc -static -lpthread -pthread -Dmips -o $B2 $1
- ./cross-compiler-sh4/bin/sh4-gcc -static -lpthread -pthread -Dsh4 -o $B3 $1
- ./cross-compiler-x86_64/bin/x86_64-gcc -static -lpthread -pthread -Dx86_64 -o $B4 $1
- ./cross-compiler-armv6l/bin/armv6l-gcc -static -lpthread -pthread -Darmv6l -o $B5 $1
- ./cross-compiler-i686/bin/i686-gcc -static -lpthread -pthread -Di686 -o $B6 $1
- ./cross-compiler-powerpc/bin/powerpc-gcc -static -lpthread -pthread -Dpowerpc -o $B7 $1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement