Advertisement
Guest User

Bzip2 ARM build

a guest
May 30th, 2019
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.11 KB | None | 0 0
  1. patching file Makefile
  2.  
  3. **********************
  4. Building package
  5. **********************
  6. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv7-a -mfpu=neon -fPIC -pthread -I. -c blocksort.c
  7. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv7-a -mfpu=neon -fPIC -pthread -I. -c huffman.c
  8. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv7-a -mfpu=neon -fPIC -pthread -I. -c crctable.c
  9. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv7-a -mfpu=neon -fPIC -pthread -I. -c randtable.c
  10. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv7-a -mfpu=neon -fPIC -pthread -I. -c compress.c
  11. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv7-a -mfpu=neon -fPIC -pthread -I. -c decompress.c
  12. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv7-a -mfpu=neon -fPIC -pthread -I. -c bzlib.c
  13. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv7-a -mfpu=neon -fPIC -pthread -I. -c bzip2.c
  14. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv7-a -mfpu=neon -fPIC -pthread -I. -c bzip2recover.c
  15. rm -f libbz2.a
  16. ar cq libbz2.a blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o
  17. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv7-a -mfpu=neon -fPIC -pthread -I. -o bzip2recover bzip2recover.o
  18. ranlib libbz2.a
  19. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv7-a -mfpu=neon -fPIC -pthread -I. -o bzip2 bzip2.o -L. -lbz2
  20. ./bzip2 -1 < sample1.ref > sample1.rb2
  21. ./bzip2 -2 < sample2.ref > sample2.rb2
  22. ./bzip2 -3 < sample3.ref > sample3.rb2
  23. ./bzip2 -d < sample1.bz2 > sample1.tst
  24. ./bzip2 -d < sample2.bz2 > sample2.tst
  25. ./bzip2 -ds < sample3.bz2 > sample3.tst
  26. cmp sample1.bz2 sample1.rb2
  27. cmp sample2.bz2 sample2.rb2
  28. cmp sample3.bz2 sample3.rb2
  29. cmp sample1.tst sample1.ref
  30. cmp sample2.tst sample2.ref
  31. cmp sample3.tst sample3.ref
  32. **********************
  33. Testing package
  34. **********************
  35. ./bzip2 -1 < sample1.ref > sample1.rb2
  36. ./bzip2 -2 < sample2.ref > sample2.rb2
  37. ./bzip2 -3 < sample3.ref > sample3.rb2
  38. ./bzip2 -d < sample1.bz2 > sample1.tst
  39. ./bzip2 -d < sample2.bz2 > sample2.tst
  40. ./bzip2 -ds < sample3.bz2 > sample3.tst
  41. cmp sample1.bz2 sample1.rb2
  42. cmp sample2.bz2 sample2.rb2
  43. cmp sample3.bz2 sample3.rb2
  44. cmp sample1.tst sample1.ref
  45. cmp sample2.tst sample2.ref
  46. cmp sample3.tst sample3.ref
  47. Searching for errors hidden in log files
  48. **********************
  49. Installing package
  50. **********************
  51. [sudo] password for jwalton: if ( test ! -d /usr/local/bin ) ; then mkdir -p /usr/local/bin ; fi
  52. if ( test ! -d /usr/local/lib ) ; then mkdir -p /usr/local/lib ; fi
  53. if ( test ! -d /usr/local/man ) ; then mkdir -p /usr/local/man ; fi
  54. if ( test ! -d /usr/local/man/man1 ) ; then mkdir -p /usr/local/man/man1 ; fi
  55. if ( test ! -d /usr/local/include ) ; then mkdir -p /usr/local/include ; fi
  56. cp -f bzip2 /usr/local/bin/bzip2
  57. cp -f bzip2 /usr/local/bin/bunzip2
  58. cp -f bzip2 /usr/local/bin/bzcat
  59. cp -f bzip2recover /usr/local/bin/bzip2recover
  60. chmod a+x /usr/local/bin/bzip2
  61. chmod a+x /usr/local/bin/bunzip2
  62. chmod a+x /usr/local/bin/bzcat
  63. chmod a+x /usr/local/bin/bzip2recover
  64. cp -f bzip2.1 /usr/local/man/man1
  65. chmod a+r /usr/local/man/man1/bzip2.1
  66. cp -f bzlib.h /usr/local/include
  67. chmod a+r /usr/local/include/bzlib.h
  68. cp -f libbz2.a /usr/local/lib
  69. chmod a+r /usr/local/lib/libbz2.a
  70. cp -f bzgrep /usr/local/bin/bzgrep
  71. ln -s -f /usr/local/bin/bzgrep /usr/local/bin/bzegrep
  72. ln -s -f /usr/local/bin/bzgrep /usr/local/bin/bzfgrep
  73. chmod a+x /usr/local/bin/bzgrep
  74. cp -f bzmore /usr/local/bin/bzmore
  75. ln -s -f /usr/local/bin/bzmore /usr/local/bin/bzless
  76. chmod a+x /usr/local/bin/bzmore
  77. cp -f bzdiff /usr/local/bin/bzdiff
  78. ln -s -f /usr/local/bin/bzdiff /usr/local/bin/bzcmp
  79. chmod a+x /usr/local/bin/bzdiff
  80. cp -f bzgrep.1 bzmore.1 bzdiff.1 /usr/local/man/man1
  81. chmod a+r /usr/local/man/man1/bzgrep.1
  82. chmod a+r /usr/local/man/man1/bzmore.1
  83. chmod a+r /usr/local/man/man1/bzdiff.1
  84. echo ".so man1/bzgrep.1" > /usr/local/man/man1/bzegrep.1
  85. echo ".so man1/bzgrep.1" > /usr/local/man/man1/bzfgrep.1
  86. echo ".so man1/bzmore.1" > /usr/local/man/man1/bzless.1
  87. echo ".so man1/bzdiff.1" > /usr/local/man/man1/bzcmp.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement