This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: make-3.82.90-1-use-spawn-on-cygwin.diff
- From: Pavel Fedin <p dot fedin at samsung dot com>
- To: 'Denis Excoffier' <cygwin at Denis-Excoffier dot org>, cygwin at cygwin dot com
- Date: Fri, 02 Aug 2013 11:40:53 +0400
- Subject: RE: make-3.82.90-1-use-spawn-on-cygwin.diff
- References: <30ff7a64af09cc584626ea338dfca067 at denis-excoffier dot org>
Hello!
> The errors i obtain are as follows:
> /tmp/lcl/tmp/cygwin/cygwin-snapshot-20130731-1/winsup/c++wrap: line 2:
> use: command not found
> /tmp/lcl/tmp/cygwin/cygwin-snapshot-20130731-1/winsup/c++wrap: line 3:
> use: command not found
> /tmp/lcl/tmp/cygwin/cygwin-snapshot-20130731-1/winsup/c++wrap: c++wrap:
> line 4: syntax error near unexpected token `('
> /tmp/lcl/tmp/cygwin/cygwin-snapshot-20130731-1/winsup/c++wrap: c++wrap:
> line 4: `my $pgm = basename($0);'
I took a look at c++wrap file. Very interesting phenomena.
By the way, i apply this patch to existing Cygwin package, i didn't try newer make. Ok, i will try when i have more time.
It looks like this is some system() or whatever issue. Perl script is not recognized as such, and executed via shell.
Here is a proof (portion from my build log):
--- cut ---
c++wrap -O2 -g -fno-rtti -fno-exceptions -Wall -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin -fmessage-length=0 -MMD -Werror -fmerge-constants -ftracer -mcmodel=small -c -o advapi32.o ../../.././winsup/cygwin/advapi32.cc
c++wrap -O2 -g -fno-rtti -fno-exceptions -Wall -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin -fmessage-length=0 -MMD -Werror -fmerge-constants -ftracer -mcmodel=small -c -o arc4random.o ../../.././winsup/cygwin/libc/arc4random.cc
c++wrap -O2 -g -fno-rtti -fno-exceptions -Wall -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin -fmessage-length=0 -MMD -Werror -fmerge-constants -ftracer -mcmodel=small -c -o assert.o ../../.././winsup/cygwin/assert.cc
c++wrap -O2 -g -fno-rtti -fno-exceptions -Wall -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin -fmessage-length=0 -MMD -Werror -fmerge-constants -ftracer -mcmodel=small -c -o autoload.o ../../.././winsup/cygwin/autoload.cc
--- cut ---
As you can see, works fine.
Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple