Advertisement
SDN

[+] Auto Cross Compiler

SDN
Jul 12th, 2015
706
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.82 KB | None | 0 0
  1. #!/bin/bash
  2. #===================================================================#
  3. #                                  __                               #
  4. #                   __            /\ \                              #
  5. #              ____/\_\    ___    \_\ \     __    ___               #
  6. #             /',__\/\ \ /' _ `\  /'_` \  /'__`\/' _ `\             #
  7. #            /\__, `\ \ \/\ \/\ \/\ \L\ \/\  __//\ \/\ \            #
  8. #            \/\____/\ \_\ \_\ \_\ \___,_\ \____\ \_\ \_\           #
  9. #             \/___/  \/_/\/_/\/_/\/__,_ /\/____/\/_/\/_/           #
  10. #         >> Coded By Sinden @Obtect                        #
  11. #           Shoutout to: LiGhT, RoBeRt, Proxy, Code     #
  12. #                                                                   #
  13. #    [+] Site       : Sinden.info                               #
  14. #    [+] Support e-mail : Admin[at]Sinden.info                      #
  15. #                                                                   #
  16. #===================================================================#
  17.  
  18. ###
  19. # Title: Auto Cross Compiler   
  20. # Date: 11/07/2015
  21. ###
  22.  
  23. if [ $# != 1 ]; then
  24. echo "Usage: sh $0 [BOT]"
  25. exit 0
  26. fi
  27. # B1-B7 Is Botname Define it yourself! #
  28. B1='mipsel'
  29. B2='mips'
  30. B3='sh4'
  31. B4='x86_64'
  32. B5='armv6l'
  33. B6='i686'
  34. B7='ppc'
  35. ./cross-compiler-mipsel/bin/mipsel-gcc -static -lpthread -pthread -DMIPSEL -o $B1 $1
  36. ./cross-compiler-mips/bin/mips-gcc -static -lpthread -pthread -Dmips -o $B2 $1
  37. ./cross-compiler-sh4/bin/sh4-gcc -static -lpthread -pthread -Dsh4 -o $B3 $1
  38. ./cross-compiler-x86_64/bin/x86_64-gcc -static -lpthread -pthread -Dx86_64 -o $B4 $1
  39. ./cross-compiler-armv6l/bin/armv6l-gcc -static -lpthread -pthread -Darmv6l -o $B5 $1
  40. ./cross-compiler-i686/bin/i686-gcc -static -lpthread -pthread -Di686 -o $B6 $1
  41. ./cross-compiler-powerpc/bin/powerpc-gcc -static -lpthread -pthread -Dpowerpc -o $B7 $1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement