| The Following User Says Thank You to Chimrod For This Useful Post: | ||
|
|
2014-08-01
, 10:04
|
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#2
|
| The Following User Says Thank You to For This Useful Post: | ||
|
|
2014-08-01
, 10:32
|
|
Posts: 18 |
Thanked: 38 times |
Joined on Dec 2013
@ France
|
#3
|
|
|
2014-08-02
, 16:45
|
|
Posts: 18 |
Thanked: 38 times |
Joined on Dec 2013
@ France
|
#4
|
|
|
2014-08-02
, 16:54
|
|
Guest |
Posts: n/a |
Thanked: 0 times |
Joined on
|
#5
|

|
|
2014-08-02
, 17:14
|
|
Posts: 18 |
Thanked: 38 times |
Joined on Dec 2013
@ France
|
#6
|
| The Following User Says Thank You to Chimrod For This Useful Post: | ||
|
|
2014-08-07
, 17:33
|
|
Posts: 18 |
Thanked: 38 times |
Joined on Dec 2013
@ France
|
#7
|
unzip ocaml-arm-master.zip -d master cd ~/master/ocaml-arm-master/
mkdir compilerlibs ./configure -prefix /usr make world make ocamlopt.opt sudo make install
unzip ocaml-arm-master.zip -d cross cd ~/cross/ocaml-arm-master/ mkdir compilerlibs patch -p1 < ~/patch.txt ./configure -prefix /usr -host armv7*-*-linux-gnueabi mkdir ~/TEMP TMPDIR=~/TEMP make cross sb2 -t SailfishOS-armv7hl fakeroot make installcross
cat > sb2 <<
#!/bin/sh
shift
shift
COMMAND=$1
shift
${COMMAND} $*
EOF
chmod +x sb2
sb2 -t SailfishOS-armv7hl fakeroot cp sb2 /usr/local/bin
| The Following User Says Thank You to Chimrod For This Useful Post: | ||
I'm a new sailfish user, and I'm discovering the developpement tools available.
Does anybody know if ocaml has been ported on sailfish ? Do you think that it would be easy to install ocaml in the sailfish sdk ?
I would like to start with simple command-line programs, but the ideal would be to compile with lablqt.
Do you think that it is possible ?
Thanks !