Advertisement
pellekrogholt

Untitled

Apr 26th, 2012
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. Kopitiam install log
  2. ====================
  3.  
  4.  
  5. 1. Get an clean eclipse 32 bit up and run
  6. ~/Applications/eclipse37kopitiam
  7.  
  8. 2. And a *clean* workspace
  9. ~/itu/eclipse_workspace_kopitiam
  10.  
  11. 3. From Eclipse just go to Help -> Install New Software and enter
  12. http://www.itu.dk/~hame/kopitiam as update-url. Version 0.0.19+
  13. should pop up.
  14.  
  15.  
  16. Eclipse 32 bit verify
  17. ---------------------
  18.  
  19. ::
  20.  
  21. $ file Eclipse
  22. Eclipse: Mach-O universal binary with 2 architectures
  23. Eclipse (for architecture i386): Mach-O executable i386
  24. Eclipse (for architecture ppc): Mach-O executable ppc
  25.  
  26. //versus a 64 bit version:
  27. $ file ../eclipse372classic64bit_vanilla/clipse/
  28. ../eclipse372classic64bit_vanilla/clipse/: cannot open `../eclipse372classic64bit_vanilla/clipse/' (No such file or directory)
  29. $ file ../eclipse372classic64bit_vanilla/eclipse
  30. ../eclipse372classic64bit_vanilla/eclipse: Mach-O 64-bit executable x86_64
  31.  
  32.  
  33. Code
  34. ----
  35.  
  36. Kopitiam are on github:
  37. https://github.com/hannesm/Kopitiam/blob/master/README
  38.  
  39.  
  40. Charge! - Coq tactics and more
  41. ------------------------------
  42.  
  43. ::
  44.  
  45. // extract tar ball
  46. tar xzvf charge-201202.tar.gz
  47.  
  48. // place it a reasoable place for now
  49. ~/itu/eclipse_workspace_kopitiam/charge-201202
  50.  
  51. // set the COQBIN environmental and ensure its set
  52. export COQBIN=/Applications/CoqIdE_8.3pl3.app/Contents/Resources/bin/
  53. $COQBIN
  54. <print path to coq>
  55.  
  56. // cd and run make
  57. cd ~/itu/eclipse_workspace_kopitiam/charge-201202
  58. make
  59.  
  60. // then it start compile an more
  61. /Applications/CoqIdE_8.3pl3.app/Contents/Resources/bin/coqdep -c -slash -I .
  62. \ "BST.v" > "BST.v.d" || ( RV=$?; rm -f "BST.v.d"; exit ${RV} )
  63. ...
  64. Finished transaction in 4. secs (3.636431u,0.028333s)
  65. Finished transaction in 2. secs (2.404491u,0.026796s)
  66.  
  67.  
  68.  
  69. Configure Kopitiam w. Charge!/Coq
  70. ---------------------------------
  71.  
  72. 1. After you have installed Kopitiam, you can open the preferences in Ecilpse
  73. and go to the Kopitiam-section.
  74. 2. There you will find path to Coq and path to Load. In path to Coq, put
  75. the search-path to your Coq installation, and in path to Load,
  76. your path to Charge!.
  77.  
  78.  
  79.  
  80.  
  81. Navie questions
  82. --------------------
  83.  
  84. 1. Where is the Kopitiam section / settings in eclipse?
  85. I have looked
  86. http://screencast.com/t/f69DyWdR
  87. and verified its installed:
  88. http://screencast.com/t/mkaRPwoqI
  89.  
  90. 2. Can I you paste in the java factorial method in a Test class or
  91. is there a special way to do it ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement