delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,TW_LG,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <252576.94771.qm@web25508.mail.ukl.yahoo.com> |
Date: | Mon, 18 Oct 2010 14:22:02 +0100 (BST) |
From: | Marco Atzeri <marco_atzeri AT yahoo DOT it> |
Subject: | Re: -static not working with gcc 4.3.4 |
To: | cygwin AT cygwin DOT com |
In-Reply-To: | <20101018125833.GB25504@const> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
--- Lun 18/10/10, Samuel Thibault scritto: > > > From: Samuel Thibault > > > $ cat test.c > > > int main(void) {} > > > $ gcc test.c -o test -static > > > > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: > > > cannot find -lgcc_s > > > > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: > > > cannot find -lgcc_s > > >=20 > > > There indeed is libgcc_s.dll.a in > /usr/lib/gcc/i686-pc-cygwin/, but for > > > some reason gcc doesn't seem to be happy with it. > This is using gcc4 > > > and > > > gcc4-core 4.3.4-3.=A0 gcc-3 works fine. > >=20 > > Please, why such a large test case when the following > would > > have been perfectly adequate to demonstrate the > problem?: > >=20 > > $ cat test.c > > main() {} > > $ >=20 > Because providing precise information is always better when > reporting a > bug, whatever the circumstances. >=20 > That being said, I'd still like to see this bug fixed: the > -static is > suppoed to be able to work alone. >=20 > Samuel >=20 have you checked if 4.5 has the same problem ? http://cygwin.com/ml/cygwin-announce/2010-08/msg00016.html -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |