Advertisement
kilon

TinyC log of build and test

Feb 27th, 2016
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.41 KB | None | 0 0
  1. Last login: Sat Feb 27 11:56:22 on console
  2. kilon-imac:~ kilon$ cd git
  3. kilon-imac:git kilon$ fish
  4. Welcome to fish, the friendly interactive shell
  5. Type help for instructions on how to use fish
  6. kilon@kilon-imac ~/git> git clone git://repo.or.cz/tinycc.git
  7. Cloning into 'tinycc'...
  8. remote: Counting objects: 7868, done.
  9. remote: Compressing objects: 100% (2327/2327), done.
  10. remote: Total 7868 (delta 5486), reused 7831 (delta 5459)
  11. Receiving objects: 100% (7868/7868), 3.32 MiB | 147.00 KiB/s, done.
  12. Resolving deltas: 100% (5486/5486), done.
  13. Checking connectivity... done.
  14. kilon@kilon-imac ~/git> cd tinycc
  15. kilon@kilon-imac ~/g/tinycc> ./configure
  16. Binary directory /usr/local/bin
  17. TinyCC directory /usr/local/lib/tcc
  18. Library directory /usr/local/lib64
  19. Include directory /usr/local/include
  20. Manual directory /usr/local/share/man
  21. Info directory /usr/local/share/info
  22. Doc directory /usr/local/share/doc//usr/local/lib/tcc
  23. Target root prefix
  24. Source path /Users/kilon/git/tinycc
  25. C compiler gcc
  26. cross compilers no
  27. Target CPU x86-64
  28. Host OS Darwin
  29. Target OS Darwin
  30. Big Endian no
  31. gprof enabled no
  32. use libgcc no
  33. Creating config.mak and config.h
  34. kilon@kilon-imac ~/g/tinycc> make
  35. gcc -o tcc.o -c tcc.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
  36. gcc -o libtcc.o -c libtcc.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
  37. gcc -o tccpp.o -c tccpp.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
  38. tccpp.c:836:19: warning: unused function 'tok_size' [-Wunused-function]
  39. static inline int tok_size(const int *p)
  40. ^
  41. 1 warning generated.
  42. gcc -o tccgen.o -c tccgen.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
  43. gcc -o tccelf.o -c tccelf.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
  44. gcc -o tccasm.o -c tccasm.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
  45. gcc -o tccrun.o -c tccrun.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
  46. gcc -o x86_64-gen.o -c x86_64-gen.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
  47. gcc -o i386-asm.o -c i386-asm.c -DTCC_TARGET_X86_64 -I. -Wall -g -O0
  48. ar rcs libtcc.a libtcc.o tccpp.o tccgen.o tccelf.o tccasm.o tccrun.o x86_64-gen.o i386-asm.o
  49. gcc -o tcc tcc.o libtcc.a -lm -ldl -I. -Wall -g -O0
  50. gcc -o tiny_libmaker win32/tools/tiny_libmaker.c -I. -Wall -g -O0
  51. /Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib native
  52. mkdir -p x86_64
  53. ../tcc -B.. -c libtcc1.c -o x86_64/libtcc1.o -I.. -Wall -g -O0 -fPIC -DTCC_TARGET_X86_64 -D_ANSI_SOURCE
  54. In file included from libtcc1.c:31:
  55. In file included from /usr/include/stdint.h:52:
  56. In file included from /usr/include/sys/_types.h:32:
  57. /usr/include/sys/cdefs.h:81: warning: #warning "Unsupported compiler detected"
  58. ../tcc -B.. -c alloca86_64.S -o x86_64/alloca86_64.o -I.. -Wall -g -O0 -fPIC -DTCC_TARGET_X86_64 -D_ANSI_SOURCE
  59. ../tcc -B.. -c alloca86_64-bt.S -o x86_64/alloca86_64-bt.o -I.. -Wall -g -O0 -fPIC -DTCC_TARGET_X86_64 -D_ANSI_SOURCE
  60. gcc -o x86_64/tiny_libmaker ../win32/tools/tiny_libmaker.c -I.. -Wall -g -O0 -fPIC -DTCC_TARGET_X86_64 -D_ANSI_SOURCE
  61. x86_64/tiny_libmaker rcs ../libtcc1.a x86_64/libtcc1.o x86_64/alloca86_64.o x86_64/alloca86_64-bt.o
  62. if test ! -d x86-64; then mkdir x86-64; fi
  63. if test ! -L x86-64/libtcc1.a; then ln -sf ../libtcc1.a x86-64/libtcc1.a; fi
  64. ./texi2pod.pl tcc-doc.texi tcc.pod
  65. pod2man --section=1 --center="Tiny C Compiler" --release=`cat ./VERSION` tcc.pod > tcc.1
  66. makeinfo --no-split --html --number-sections -o tcc-doc.html tcc-doc.texi
  67. makeinfo tcc-doc.texi
  68. kilon@kilon-imac ~/g/tinycc> make test
  69. /Applications/Xcode.app/Contents/Developer/usr/bin/make -C tests test 'PROGS_CROSS=i386-tcc i386-win-tcc x86_64-win-tcc arm-linux-fpa-tcc arm-linux-fpa-ld-tcc arm-linux-gnu-tcc arm-linux-gnueabi-tcc c67-tcc arm-win-mingw32ce-tcc'
  70. ------------ hello-run ------------
  71. ../tcc -B.. -I.. -I.. -I../include -L.. -run ../examples/ex1.c
  72. Hello World
  73. gcc -o libtcc_test libtcc_test.c ../libtcc.a -I.. -Wl,-flat_namespace,-undefined,warning -DTCC_TARGET_X86_64 -D_ANSI_SOURCE -lm -ldl -I..
  74. ld: warning: object file (../libtcc.a(libtcc.o)) was built for newer OSX version (10.10) than being linked (10.4)
  75. ld: warning: object file (../libtcc.a(tccelf.o)) was built for newer OSX version (10.10) than being linked (10.4)
  76. ld: warning: object file (../libtcc.a(tccrun.o)) was built for newer OSX version (10.10) than being linked (10.4)
  77. ld: warning: object file (../libtcc.a(tccgen.o)) was built for newer OSX version (10.10) than being linked (10.4)
  78. ld: warning: object file (../libtcc.a(tccpp.o)) was built for newer OSX version (10.10) than being linked (10.4)
  79. ld: warning: object file (../libtcc.a(tccasm.o)) was built for newer OSX version (10.10) than being linked (10.4)
  80. ld: warning: object file (../libtcc.a(i386-asm.o)) was built for newer OSX version (10.10) than being linked (10.4)
  81. ld: warning: object file (../libtcc.a(x86_64-gen.o)) was built for newer OSX version (10.10) than being linked (10.4)
  82. ------------ libtest ------------
  83. ./libtcc_test -B.. -I.. -I.. -I../include -L..
  84. Hello World!
  85. fib(32) = 2178309
  86. add(32, 64) = 96
  87. gcc -o abitest-cc abitest.c ../libtcc.a -I.. -Wl,-flat_namespace,-undefined,warning -DTCC_TARGET_X86_64 -D_ANSI_SOURCE -lm -ldl -I..
  88. ld: warning: object file (../libtcc.a(libtcc.o)) was built for newer OSX version (10.10) than being linked (10.4)
  89. ld: warning: object file (../libtcc.a(tccelf.o)) was built for newer OSX version (10.10) than being linked (10.4)
  90. ld: warning: object file (../libtcc.a(tccrun.o)) was built for newer OSX version (10.10) than being linked (10.4)
  91. ld: warning: object file (../libtcc.a(tccgen.o)) was built for newer OSX version (10.10) than being linked (10.4)
  92. ld: warning: object file (../libtcc.a(tccpp.o)) was built for newer OSX version (10.10) than being linked (10.4)
  93. ld: warning: object file (../libtcc.a(tccasm.o)) was built for newer OSX version (10.10) than being linked (10.4)
  94. ld: warning: object file (../libtcc.a(i386-asm.o)) was built for newer OSX version (10.10) than being linked (10.4)
  95. ld: warning: object file (../libtcc.a(x86_64-gen.o)) was built for newer OSX version (10.10) than being linked (10.4)
  96. ../tcc -B.. -I.. -I.. -I../include -L.. -o abitest-tcc abitest.c ../libtcc.c -I.. -Wl,-flat_namespace,-undefined,warning -DTCC_TARGET_X86_64 -D_ANSI_SOURCE -DONE_SOURCE -lm -ldl -I..
  97. tcc: error: unsupported linker option '-flat_namespace'
  98. make[1]: *** [abitest-tcc] Error 1
  99. make: *** [test] Error 2
  100. kilon@kilon-imac ~/g/tinycc> make install
  101. /Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib native
  102. make[1]: Nothing to be done for `native'.
  103. if test ! -d x86-64; then mkdir x86-64; fi
  104. if test ! -L x86-64/libtcc1.a; then ln -sf ../libtcc1.a x86-64/libtcc1.a; fi
  105. mkdir -p "/usr/local/bin"
  106. install -m755 tcc tiny_libmaker "/usr/local/bin"
  107. cp -P tcc "/usr/local/bin"
  108. mkdir -p "/usr/local/share/man/man1"
  109. install -m644 tcc.1 "/usr/local/share/man/man1"
  110. mkdir -p "/usr/local/share/info"
  111. install -m644 tcc-doc.info "/usr/local/share/info"
  112. mkdir -p "/usr/local/lib/tcc"
  113. mkdir -p "/usr/local/lib/tcc/include"
  114. mkdir -p "/usr/local/lib/tcc/x86-64"
  115. install -m644 libtcc1.a "/usr/local/lib/tcc/x86-64"
  116. install -m644 ./include/stdarg.h ./include/stddef.h ./include/stdbool.h ./include/float.h ./include/varargs.h ./tcclib.h "/usr/local/lib/tcc/include"
  117. mkdir -p "/usr/local/lib64"
  118. install -m644 libtcc.a "/usr/local/lib64"
  119. mkdir -p "/usr/local/include"
  120. install -m644 ./libtcc.h "/usr/local/include"
  121. mkdir -p "/usr/local/share/doc//usr/local/lib/tcc"
  122. install -m644 tcc-doc.html "/usr/local/share/doc//usr/local/lib/tcc"
  123. kilon@kilon-imac ~/g/tinycc>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement