delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/24/10:22:45

X-Spam-Check-By: sourceware.org
Message-ID: <FD8B7EFB6560464CBAE07455430A6C47@desktop2>
From: "Sisyphus" <sisyphus1 AT optusnet DOT com DOT au>
To: <cygwin AT cygwin DOT com>
References: <76F97D29CEDF4D97BA3004F2C2B2EF08 AT desktop2> <01e301c7cdf7$b4d93b20$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <46A60338 DOT 86ADB36D AT dessent DOT net>
In-Reply-To: <46A60338.86ADB36D@dessent.net>
Subject: Re: Trying to build (perl) Inline::CPP-0.25.
Date: Wed, 25 Jul 2007 00:22:19 +1000
MIME-Version: 1.0
X-Mailer: Microsoft Windows Mail 6.0.6000.16480
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

----- Original Message ----- 
From: "Brian Dessent" <brian AT dessent DOT net>
To: <cygwin AT cygwin DOT com>
Sent: Tuesday, July 24, 2007 11:48 PM
Subject: Re: Trying to build (perl) Inline::CPP-0.25.


> Dave Korn wrote:
>
>>   That I can't say.  But assuming the build uses proper dependencies in 
>> the
>> makefile, you should be able to workaround it by cutting and pasting that 
>> line
>> into your shell, replacing 'gcc' by 'g++' as you go, and once you've got 
>> past
>> that manually the rest of the build should run to completion.
>
> Normally that might work but in this case it misses the point, as the
> whole purpose of this perl module is to dynamically invoke the C++
> compiler at runtime to compile the inline C++ bits in the script.  And
> if it's invoking the compiler wrong it makes this essentially useless as
> all the stuff it feeds the compiler is dynamically generated.

Yes - the makefile in question is generated on the fly. I could modify it as 
Dave suggested, but the next time the test script is run, the modified 
makefile is going to be overwritten by the same original (incorrect) 
makefile.

>
> But I agree that this is a bug somewhere in the module, and is not
> related to Cygwin or gcc.  Looking at its sources it seems to have the
> proper logic to use g++ for linking and/or adding -lstdc++ so I would
> suggest you need to contact the module's author.
>

Not much point. In his own words he's got "too much on his plate" to be 
bothered with Inline::CPP. (I don't think it has been updated since about 
2001.) In fairness, he did offer me the opportunity to take over maintenance 
of the module. I've left my options open on that one .... ie, I haven't 
replied :-)

Anyway, since it's not a Cygwin issue, then it's probably not all that 
difficult to track down the problem if I set my mind to it.

Thanks Dave, Brian.

Cheers,
Rob 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019