Advertisement
goatbar

macos 10.9 - mavericks - compiler setup

Mar 21st, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. See also: http://stackoverflow.com/questions/9329243/xcode-4-4-and-later-install-command-line-tools/9329325
  2.  
  3. ls /Applications/Xcode.app/Contents/Developer
  4. DocumentationLibraryMakefilesPlatformsToolchainsToolsusr
  5.  
  6. xcode-select -v
  7. xcode-select version 2333.
  8.  
  9. xcode-select -p
  10. /Applications/Xcode.app/Contents/Developer
  11.  
  12. ls -l /usr/bin/*cc
  13. lrwxr-xr-x 1 root wheel 5 Dec 20 07:05 /usr/bin/cc -> clang
  14. -rwxr-xr-x 1 root wheel 14224 Dec 20 07:05 /usr/bin/gcc
  15. -rwxr-xr-x 32 root wheel 811 Dec 20 07:05 /usr/bin/ip2cc
  16. -rwxr-xr-x 1 root wheel 46256 Feb 25 15:18 /usr/bin/kcc
  17. lrwxr-xr-x 1 root wheel 5 Dec 20 07:05 /usr/bin/llvm-gcc -> clang
  18. -rwxr-xr-x 1 root wheel 14224 Dec 20 07:05 /usr/bin/yacc
  19.  
  20. gcc --version
  21. Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
  22. Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
  23. Target: x86_64-apple-darwin13.1.0
  24. Thread model: posix
  25.  
  26. type -a cc
  27. cc is /usr/bin/cc
  28.  
  29. type -a gcc
  30. gcc is /usr/bin/gcc
  31.  
  32. mdfind DevSDK.pkg | grep DevSDK
  33. # Nothing returned
  34.  
  35. fink rebuild tar
  36. # If this works, then you have at least the C compiler working.
  37.  
  38. pkgutil --packages | grep -i java
  39. com.apple.pkg.JavaEssentials
  40. com.apple.pkg.JavaForMacOSX107
  41. com.apple.pkg.JavaMDNS
  42. com.apple.pkg.JavaSecurity
  43. com.apple.pkg.JavaTools
  44.  
  45. pkgutil --packages | grep SDK
  46. com.apple.pkg.MacOSX10_9_SDK
  47.  
  48. uname -a
  49. Darwin schwehr-mac 13.1.0 Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 x86_6
  50.  
  51. system_profiler -detailLevel mini SPSoftwareDataType
  52. Software:
  53.  
  54. System Software Overview:
  55.  
  56. System Version: OS X 10.9.2 (13C64)
  57. Kernel Version: Darwin 13.1.0
  58. Time since boot: 23 days 17:06
  59.  
  60. fink list -i gcc clang llvm cctools java
  61. Information about 8470 packages read in 1 seconds.
  62. i cctools 846-1 [virtual package representing the developer tools]
  63. i cctools-single-module 846-1 [virtual package, your dev tools support -single_module]
  64. i clang 5.0-500.2.79 [virtual package representing Apple's clang compiler]
  65. i gcc48 4.8.2-1001 GNU Compiler Collection Version 4.8
  66. i gcc48-compiler 4.8.2-1001 Compiler Binaries for gcc48
  67. i gcc48-shlibs 4.8.2-1001 Shared libraries for gcc4
  68. i llvm-gcc42 2336.11-7 Apple gcc compiler frontend for llvm
  69. i llvm-gcc42-shlibs 2336.11-7 Shared libraries for llvm-gcc42
  70. i system-java 1.6.0-1 [virtual package representing Java 1.6.0]
  71. i system-java-dev 1.6.0-1 [virtual package representing Java SDK 1.6.0]
  72. i system-java14 1.4.2-1 [virtual package representing Java 1.4.2]
  73. i system-java14-dev 1.4.2-1 [virtual package representing Java 1.4.2 development headers]
  74. i system-java15 1.5.0-1 [virtual package representing Java 1.5.0]
  75. i system-java15-dev 1.5.0-1 [virtual package representing Java 1.5.0 development headers]
  76. i system-java16 1.6.0-1 [virtual package representing Java 1.6.0]
  77. i system-java16-dev 1.6.0-1 [virtual package representing Java 1.6.0 development headers]
  78. i system-java3d 0-1 [virtual package representing Java3D]
  79. i system-javaai 0-1 [virtual package representing Java Advanced Imaging]
  80.  
  81. fink --version
  82. Package manager version: 0.36.3.1
  83. Distribution version: selfupdate-cvs Fri Mar 21 07:03:05 2014, 10.9, x86_64
  84. Trees: local/main stable/main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement