delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/07/24/09:49:02

X-Spam-Check-By: sourceware.org
Message-ID: <46A60338.86ADB36D@dessent.net>
Date: Tue, 24 Jul 2007 06:48:40 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Trying to build (perl) Inline::CPP-0.25.
References: <76F97D29CEDF4D97BA3004F2C2B2EF08 AT desktop2> <01e301c7cdf7$b4d93b20$2e08a8c0 AT CAM DOT ARTIMI DOT COM>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

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.

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.

Brian

--
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