wiki:Dev

Version 37 (modified by mitty, 12 years ago) (diff)

--

C/C++

build 32bit object on x64

GeSHi

Malbolge

Grass

Python

OCaml

  • Module Pervasives OCaml

    The initially opened module.

    This module provides the basic operations over the built-in types (numbers, booleans, strings, exceptions, references, lists, arrays, input-output channels, ...).

    This module is automatically opened at the beginning of each compilation. All components of this module can therefore be referred by their short name, without prefixing them by Pervasives.

  • OCaml プログラミング入門 (インストール)

    ledit

    OCaml の対話的環境を提供するコマンド: ocaml は ライセンス上の問題から、 C-a で行頭に戻ったりする事や、ヒストリ機能、 などと言った GNU の readline ライブラリを使った便利な機能がありません。 emacs から対話的環境を使うのが一つには考えられます が、どうしてもターミナルから実行したい人は、 ledit と言うコマンドを使えば大丈夫です。 ledit ocaml と起動するだけです。

Makefile

Fail Safe C

  • Ubuntu 12.04 LTS x86_64
  • mitty@precise:~$ sudo aptitude install ocaml-nox ocaml-native-compilers ocaml-findlib libextlib-ocaml-dev camlp4 libgc-dev libgdbm-dev
    The following NEW packages will be installed:
      camlp4 ledit{a} libextlib-ocaml{a} libextlib-ocaml-dev
      libfindlib-ocaml{a} libfindlib-ocaml-dev{a} libgc-dev libgc1c2{a}
      libgdbm-dev ocaml-base-nox{a} ocaml-findlib ocaml-interp{a}
      ocaml-native-compilers ocaml-nox
    0 packages upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
    Need to get 31.6 MB of archives. After unpacking 106 MB will be used.
    
  • mitty@precise:~$ svn co https://svn.rcis.jp/FailSafeC/pub/trunk FailSafeC-trunk
    Checked out revision 2255.
    

fix version getter script

  • mitty@precise:~/FailSafeC-trunk$ vim tools/disthelpers/svn-get-revision.pl
    • tools/disthelpers/svn-get-revision.pl

       
      99while (<F>) { 
      1010# 123456 1234567890 12345678 123456789012  
      1111# A  +            -     1723 yutaka       local-packaging/debian-dir 
      12     /(^[AMDR\+ \?]{6}) ([ \-\d]{10}) ([ \-\d\?]{8}) .{12} (..*)$/ or die "cannot parse svn output: \"$_\"\n "; 
       12    /(^[AMDR\+ \?]{7}) ([ \-\d]{10}) ([ \-\d\?]{8}) .{12} (..*)$/ or die "cannot parse svn output: \"$_\"\n "; 
      1313    $fname = $4; 
      1414    $frev = $3 + 0; 
      1515#    print $_; 
  • mitty@precise:~/FailSafeC-trunk$ ./tools/disthelpers/svn-get-revision.pl
    2255+20120602T162127Z
    
  • mitty@precise:~/FailSafeC-trunk$ ./configure
  • mitty@precise:~/FailSafeC-trunk$ make
  • mitty@precise:~/FailSafeC-trunk$ sudo make install