On Wednesday, June 5, 2013 11:47:43 PM UTC+2, Ben Fritz wrote:
> I found this stackoverflow post: 
> http://stackoverflow.com/questions/3373914/compiling-vim-with-python-support
> 
> Which led me to look at src/auto/config.log
> 
> Here I see something suspicious:
> 
> configure:5416: checking if -pthread should be used
> configure:5443: gcc -o conftest -g -O2 -pthread   -L/usr/local/lib conftest.c 
>   >&5
> gcc: unrecognized option `-pthread'
> configure:5443: $? = 0
> configure:5444: result: yes
> configure:5459: checking if compile and link flags for Python are sane
> configure:5476: gcc -o conftest -g -O2 
> -I/rfs/proj/cs_ifis_projects/Tools/Python/current/include/python2.7 
> -DPYTHON_HOME=\"/rfs/proj/cs_ifis_projects/Tools/Python/current\" -pthread   
> -L/usr/local/lib conftest.c   
> -L/rfs/proj/cs_ifis_projects/Tools/Python/current/lib/python2.7/config 
> -lpython2.7 -lresolv -lsocket -lnsl -lrt -ldl -lpthread -lm >&5
> gcc: unrecognized option `-pthread'
> 
> It looks like configure checks that -pthread is supported, gets pretty 
> convincing evidence that it is NOT supported (unrecognized option!) and then 
> tries to use it anyway!


Which GCC version are you using?

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui