Difference between revisions of "Objective Caml"
From CBLFS
Jump to navigationJump to search (→Multilib) |
|||
Line 17: | Line 17: | ||
Compile the package: | Compile the package: | ||
− | ./configure --prefix /usr --with-pthread && | + | ./configure --prefix /usr --with-pthread --x11lib ${XORG_PREFIX}/lib && |
make world && | make world && | ||
make opt && | make opt && | ||
Line 34: | Line 34: | ||
sed -i "/aspp=/s/'gcc'/'gcc ${BUILD32}'/g" configure && | sed -i "/aspp=/s/'gcc'/'gcc ${BUILD32}'/g" configure && | ||
./configure --prefix /usr --with-pthread -host ${CLFS_TARGET32} \ | ./configure --prefix /usr --with-pthread -host ${CLFS_TARGET32} \ | ||
− | -cc "gcc ${BUILD32}" && | + | -cc "gcc ${BUILD32}" --x11lib ${XORG_PREFIX}/lib && |
make world && | make world && | ||
make opt && | make opt && | ||
Line 53: | Line 53: | ||
sed -i "/aspp=/s/'gcc'/'gcc ${BUILD64}'/g" configure && | sed -i "/aspp=/s/'gcc'/'gcc ${BUILD64}'/g" configure && | ||
./configure --prefix /usr --with-pthread -libdir /usr/lib64/ocaml \ | ./configure --prefix /usr --with-pthread -libdir /usr/lib64/ocaml \ | ||
− | -cc "gcc ${BUILD64}" && | + | -cc "gcc ${BUILD64}" --x11lib ${XORG_PREFIX}/lib64 && |
make world && | make world && | ||
make opt && | make opt && |
Revision as of 15:12, 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 --x11lib ${XORG_PREFIX}/lib && 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}" --x11lib ${XORG_PREFIX}/lib && 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}" --x11lib ${XORG_PREFIX}/lib64 && make world && make opt && make opt.opt
Install the package
make install