X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id :references:to; q=dns; s=default; b=JJxdi2y7L1dsRzGGyjjLE3RcQsn4 afYwCCAnQaxR6OowagljJ2vG7/rIMNrM0ES0uV8v6oVB5y9iaH3ls3DFgBsB0Ybu RQOL/EBvDtx6o+qGzY+vJnwMXxVEV38ZlqMbLaoEwkLkZy2zx3OmZky80TFrl4OU hUQ2l+jieqHQLCI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id :references:to; s=default; bh=pU1JJHRLR++cxlGIBD8eOqtvIu0=; b=Id K0t/Xaoin9Hxzb7sPnXE5rm+ld9qskTv9Dku2OLUkLIgNzYg3vUZHINGhR2/ZVyU 8Wux7C3z7bR4l+aYulkyi5sVJDJOWgGZjpLDf+i8MCNekquR72R5t0opfxYWpLMt m/DUKgzeRWVSNruMS1IdaqeTr/WmsQOPKJ+838syw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f179.google.com X-Received: by 10.180.73.2 with SMTP id h2mr19696172wiv.72.1439670986371; Sat, 15 Aug 2015 13:36:26 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: [PATCH] Change linker to gcc for cygwin From: Reini Urban In-Reply-To: <87614hdroi.fsf@Rainer.invalid> Date: Sat, 15 Aug 2015 22:36:14 +0200 Cc: Perl 5 Porters , cygwin AT cygwin DOT com Message-Id: References: <885655883 DOT 20150814154548 AT mail DOT mipt DOT ru> <87614hdroi DOT fsf AT Rainer DOT invalid> To: Achim Gratz Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t7FKafl9018602 > On Aug 15, 2015, at 7:52 AM, Achim Gratz wrote: > > [Cygwin Perl maintainer here] > > Ivan Pozdeev writes: >> Currently, g++ is specified in hints/cygwin.sh >> It is quite a weighty install - approaches 100M with dependencies - >> and since it isn't really needed (see below), requiring it is >> completely unnecessary. >> Moreover, as a consequence, it's also required when building modules. > > I'm in general sympathetic with trying to keep dependencies small. yes, g++ is not required, only for -devel. g++ is not needed as perl run-time dep, only as build dep and devel dep, for people compiling XS modules. >> The current choice was introduced in commit >> 4f3b19ea9f1065e1d9d263b4c07fca1ba8f29276 >> as a replacement for `ld2'; related cygwin maillist message by Reini Urban: >> https://www.cygwin.com/ml/cygwin/2007-07/msg00665.html >> Neither the message not the linked perl5-porters thread contain any >> information on the choice of g++ over gcc. >> >> Maybe Reini himself can comment on his decision? g++ as ld was needed to be able to link C++ projects which also link to libperl, like gnome I think. > Maybe you could discuss things concerning Cygwin on the Cygwin mailing > list first before proposing changes for Cygwin upstream. I don't > pretend to know every detail of how and where Perl is used on Cygwin and > you shouldn't either. Maybe using g++ as a linker was something that > just happened or for reasons that are not valid anymore, but it's one of > the things I wouldn't want to change on a whim. It is still valid, Yaakov needed that. -- 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