Permalink
Browse files

Mention the architecture problem during compilation.

Originally submitted at:
  #44

Signed-off-by: Wincent Colaiuta <win@wincent.com>
  • Loading branch information...
1 parent 341d0e5 commit 795cd3220e677ca85c5ade72271b12799fed8b1a @pelletier pelletier committed with May 11, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 doc/command-t.txt
View
@@ -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*

0 comments on commit 795cd32

Please sign in to comment.