Skip to content

Instantly share code, notes, and snippets.

@mbrezu
Created September 12, 2010 12:01
Show Gist options
  • Save mbrezu/576023 to your computer and use it in GitHub Desktop.
Save mbrezu/576023 to your computer and use it in GitHub Desktop.
TODO list pentru configurat masina virtuala pentru dezvoltare ocaml
TODO list pentru configurat masina virtuala pentru dezvoltare ocaml
instalat Microsoft Visual Studio Express 2010
instalat diverse
7zip
clipx
total commander
instalat Cygwin (folosind switch.ch, pare sa mearga OK)
mc
m4
git
make
configurare emacs
download
emacs here
obtinere configuratia mea din github
instalat Consolas
instalat cygwin here
instalat flexdll
configurare cygwin
variabile pentru executabile MSVC (din readme-ul de construire Ocaml 3.12.0)
In prompt de cmd.exe:
set PFPATH=C:\Program Files
cd "%PFPATH%\Microsoft Visual Studio 10.0\VC\bin"
call vcvars32
echo VCPATH="`cygpath -p '%Path%'`" >C:\cygwin\tmp\msenv
echo LIB="%LIB%;C:\Tcl\lib" >>C:\cygwin\tmp\msenv
echo LIBPATH="%LIBPATH%" >>C:\cygwin\tmp\msenv
echo INCLUDE="%INCLUDE%;C:\Tcl\include" >>C:\cygwin\tmp\msenv
echo FLPATH="`cygpath '%PFPATH%\flexdll'`" >>C:\cygwin\tmp\msenv
echo PATH="${VCPATH}:$PATH:${FLPATH}" >>C:\cygwin\tmp\msenv
echo export PATH LIB LIBPATH INCLUDE >>C:\cygwin\tmp\msenv
echo export OCAMLBUILD_FIND=/usr/bin/find >>C:\cygwin\tmp\msenv
In prompt de cygwin:
tr -d '\r' </tmp/msenv >.msenv32
echo '. $HOME/.msenv32' >>.bashrc
instalat active tcl 8.5
instalat (dezarhivat) ocamlms-3.12.7z in c:\ocamlms
setat variabila de sistem OCAMLLIB=c:\ocamlms\lib
setat path sa contina c:\ocamlms\bin
copiat flexlink.exe din instalarea de flexdll in c:\ocamlms\bin (ca sa fie in cale)
de asemenea toate fisierele *.obj de langa flexlink.exe
instalat freeglut
deschis solutia din freeglut\VisualStudio2008 si compilat
copiat freeglut.lib ca glut32.lib in c:\ocamlms\lib
compilare ocamlfind
compilare lablgl
compilare ounit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment