Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian multiarch compatibility #122

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Debian multiarch compatibility #122

wants to merge 2 commits into from

Commits on Sep 19, 2015

  1. Debian multarch compatibility.

    Includes changes that mean the x86_64 compile will correctly run on a
    32bit system with suitable library and kernel support.
    
    If you have a multiarch aware llvm-dev and clang-dev the Makefile changes
    will allow you to build Terra on a mostly 32bit host using:
    
        make TARGET_ARCH=-m64
    
    The robustness of the Makefile has also been improved slightly so that
    a compile that is started on a 32bit environment without the required
    setup should fail early enough so it does not require a "make purge"
    to successfully complete a 64bit compile.
    
    To run the 64bit application on a 32bit user space you can use multiarch,
    but you actually only need "gcc-multilib".
    
    The 32bit packages needed to run terra can be installed using the
    Debian/Ubuntu packages:
    
        apt-get install gcc-multilib lib64ncurses5 lib64z1
    
    Note: Running 64bit applications on a 32bit system also requires that
    the kernel be the "amd64" variant.
    rdebath committed Sep 19, 2015
    Configuration menu
    Copy the full SHA
    32c31c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    94eb760 View commit details
    Browse the repository at this point in the history