www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_BRBL_LASTEXT,TW_LG |
X-Spam-Check-By: | sourceware.org |
Date: | Sun, 17 Oct 2010 02:58:57 +0200 |
From: | Samuel Thibault <samuel DOT thibault AT ens-lyon DOT org> |
To: | cygwin AT cygwin DOT com |
Cc: | Lee Maschmeyer <lee_maschmeyer AT wayne DOT edu> |
Subject: | -static not working with gcc 4.3.4 |
Message-ID: | <20101017005857.GA28900@const.famille.thibault.fr> |
Mail-Followup-To: | cygwin AT cygwin DOT com, Lee Maschmeyer <lee_maschmeyer AT wayne DOT edu> |
MIME-Version: | 1.0 |
User-Agent: | Mutt/1.5.12-2006-07-14 |
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 |
Hello, gcc -static doesn't seem to be working any more using gcc 4.3.4: $ 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 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. gcc-3 works fine. Samuel -- 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 |