Difference between revisions of "GCL"

From CBLFS
Jump to navigationJump to search
(Partial success with multilib build.)
Line 23: Line 23:
  
 
== Multilib ==
 
== Multilib ==
 +
 +
{{Note|I think I am almost there with the multilib builds. I'll come back and try to finish this up, unless you do it first. (Please remove these notes if you get it working.)}}
 +
 +
{{Note|I need to disable parallel build. (Do not use make -j ...)}}
 +
 +
{{Note|Some items, such as USE_ARCH and PKG_CONFIG_PATH.. and CXX may be unnecessary but harmless.}}
  
 
=== 32Bit ===
 
=== 32Bit ===
  
 +
{{Note|32Bit build fails due to absence of /usr/lib/libiberty.a and /usr/lib/libbfd.a. The 64-bit versions of those libraries are available, but not 32-bit. Were those libraries provided by gcc? If so, review how gcc was installed.}}
 +
 +
Compile the package:
 +
 +
export USE_ARCH=32 &&
 +
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 +
    CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
 +
    setarch i386 -R ./configure --prefix=/usr --sysconfdir=/etc \
 +
    --localstatedir=/var \
 +
    --host=${CLFS_TARGET32} --x-libraries=${XORG_PREFIX}/lib &&
 +
make &&
 +
unset USE_ARCH
 +
 +
Install the package:
 +
 +
export USE_ARCH=32 &&
 +
make install &&
 +
unset USE_ARCH
 +
 +
=== N32 ===
 +
 +
If you have an n32 arch platform, please try a similar build procedure.
 +
 +
=== 64Bit ===
 +
 +
{{Note|If I'm right about the missing libraries, then the following might work as is. If so, then please remove this note after testing functionality of installed package.}}
 +
 +
Compile the package:
 +
 +
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 +
    CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
 +
    setarch x86_64 -R ./configure --prefix=/usr --sysconfdir=/etc \
 +
    --localstatedir=/var --libdir=/usr/lib64 &&
 +
make
 +
 +
Install the package:
  
 +
make install
  
 
= Contents =
 
= Contents =

Revision as of 13:57, 13 April 2009

Download Source: ftp://ftp.gnu.org/pub/gnu/gcl/gcl-2.6.7.tar.gz



Introduction to GCL

GNU Common Lisp (GCL) is an the GNU implementation of Common Lisp.

Project Homepage: http://www.gnu.org/software/gcl/gcl.html

Dependencies

Non-Multilib

Compile the package:

./configure --prefix=/usr
make 

Install the package:

make install

Multilib

Caution.png

Note

I think I am almost there with the multilib builds. I'll come back and try to finish this up, unless you do it first. (Please remove these notes if you get it working.)
Caution.png

Note

I need to disable parallel build. (Do not use make -j ...)
Caution.png

Note

Some items, such as USE_ARCH and PKG_CONFIG_PATH.. and CXX may be unnecessary but harmless.

32Bit

Caution.png

Note

32Bit build fails due to absence of /usr/lib/libiberty.a and /usr/lib/libbfd.a. The 64-bit versions of those libraries are available, but not 32-bit. Were those libraries provided by gcc? If so, review how gcc was installed.

Compile the package:

export USE_ARCH=32 &&
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
    CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
    setarch i386 -R ./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var \
    --host=${CLFS_TARGET32} --x-libraries=${XORG_PREFIX}/lib &&
make &&
unset USE_ARCH

Install the package:

export USE_ARCH=32 &&
make install &&
unset USE_ARCH

N32

If you have an n32 arch platform, please try a similar build procedure.

64Bit

Caution.png

Note

If I'm right about the missing libraries, then the following might work as is. If so, then please remove this note after testing functionality of installed package.

Compile the package:

PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
    CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
    setarch x86_64 -R ./configure --prefix=/usr --sysconfdir=/etc \
    --localstatedir=/var --libdir=/usr/lib64 &&
make

Install the package:

make install

Contents

Installed Programs: gcl
Installed Libraries:
Installed Directories: /usr/lib/gcl-2.6.7

Short Descriptions

GCL is a GNU Common Lisp implementation