From 033fe2c9bf60c77dc4a89d24474d53dacd163b1e Mon Sep 17 00:00:00 2001 From: Thomas Pelletier Date: Fri, 11 May 2012 13:02:50 +0200 Subject: [PATCH] Mention the architecture problem during compilation. --- doc/command-t.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/command-t.txt b/doc/command-t.txt index c2108b5e..083061ee 100644 --- a/doc/command-t.txt +++ b/doc/command-t.txt @@ -156,6 +156,20 @@ of the following commands: rvm use system rbenv local system +Note: Make sure you compile targeting the same architecture Vim was built for. +For instance, MacVim binaries are built for i386, but sometimes GCC compiles +for x86_64. First you have to check the platfom Vim was built for: + + vim --version + ... + Compilation: gcc ... -arch i386 ... + ... + +and make sure you use the correct ARCHFLAGS during compilation: + + export ARCHFLAGS="-arch i386" + make + MANAGING USING PATHOGEN *command-t-pathogen*