Difference between revisions of "Objective Caml"
From CBLFS
Jump to navigationJump to search (→Multilib) |
(→Multilib) |
||
Line 30: | Line 30: | ||
=== 32Bit === | === 32Bit === | ||
− | + | Compile the package: | |
+ | |||
+ | sed -i "/aspp=/s/'gcc'/'gcc ${BUILD32}'/g" configure && | ||
+ | ./configure --prefix /usr --with-pthread -host ${CLFS_TARGET32} \ | ||
+ | -cc "gcc ${BUILD32}" && | ||
+ | make world && | ||
+ | make opt && | ||
+ | make opt.opt | ||
+ | |||
+ | Install the package | ||
+ | |||
+ | make install | ||
=== N32 === | === N32 === |
Revision as of 15:11, 30 September 2006
Download Source: | http://caml.inria.fr/pub/distrib/ocaml-3.09/ocaml-3.09.3.tar.bz2 |
---|
Dependencies
Optional
Non-Multilib
Compile the package:
./configure --prefix /usr --with-pthread && make world && make opt && make opt.opt
Install the package
make install
Multilib
32Bit
Compile the package:
sed -i "/aspp=/s/'gcc'/'gcc ${BUILD32}'/g" configure && ./configure --prefix /usr --with-pthread -host ${CLFS_TARGET32} \ -cc "gcc ${BUILD32}" && make world && make opt && make opt.opt
Install the package
make install
N32
Working Configuration Unknown
64Bit
Compile the package:
sed -i "/aspp=/s/'gcc'/'gcc ${BUILD64}'/g" configure && ./configure --prefix /usr --with-pthread -libdir /usr/lib64/ocaml \ -cc "gcc ${BUILD64}" && make world && make opt && make opt.opt
Install the package
make install