Ken Takata wrote: > When I build Vim with clang 3.5 and if_perl enabled on Cygwin, it fails with > the following error: > > configure:5624: checking if compile and link flags for Perl are sane > configure:5644: clang -o conftest.exe -O2 -fno-strength-reduce -Wall > -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -ggdb -O2 -pipe > -Wimplicit-function-declaration > -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/build=/usr/src/debug/perl-5.14.4-3 > > -fdebug-prefix-map=/mnt/share/maint/perl.x86_64/src/perl-5.14.4=/usr/src/debug/perl-5.14.4-3 > -fwrapv -fstack-protector -I/usr/lib/perl5/5.14/x86_64-cygwin-threads/CORE > -L/usr/local/lib conftest.c -Wl,--enable-auto-import > -Wl,--export-all-symbols -Wl,--enable-auto-image-base -fstack-protector > -L/usr/local/lib -L/usr/lib/perl5/5.14/x86_64-cygwin-threads/CORE -lperl > -ldl -lcrypt >&5 > clang: error: unknown argument: > '-fdebug-prefix-map=/mnt/share/maint/perl.x86_64/build=/usr/src/debug/perl-5.14.4-3' > clang: error: unknown argument: > '-fdebug-prefix-map=/mnt/share/maint/perl.x86_64/src/perl-5.14.4=/usr/src/debug/perl-5.14.4-3' > clang: warning: optimization flag '-fno-strength-reduce' is not supported > > > Attached patch fixes the problem.
Thanks, I'll include it. -- hundred-and-one symptoms of being an internet addict: 129. You cancel your newspaper subscription. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
