delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <dd5065570901220738o68ccd01ct80f8a94b6d344adb@mail.gmail.com> |
References: | <dd5065570901220632u32917372pcc06036f24ef87a7 AT mail DOT gmail DOT com> <49788A91 DOT 5070803 AT sbcglobal DOT net> <dd5065570901220738o68ccd01ct80f8a94b6d344adb AT mail DOT gmail DOT com> |
Date: | Thu, 22 Jan 2009 17:18:23 +0000 |
Message-ID: | <2ca21dcc0901220918vaf7a317i1d0b29cd27cebd59@mail.gmail.com> |
Subject: | [OT] Re: 1.5.18-1: undefined reference to `ffs' in mno-cygwin mode |
From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
To: | cygwin AT cygwin DOT com |
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 |
Dmitry Smirnov wrote: >> While this isn't a Cygwin issue (you're using '-mno-cygwin'), > Well, I never installed mingw separately. Is was a part of Cygwin > installation, so I supposed it has some relation. :-) Well, we give you a MinGW cross-compiler in the -mno-cygwin mode of gcc ... but we don't support MinGW programs that you write with it! > I'll try to ask mingw guys. They're bound to know better than we do here what's the best way to fix it. >> This search: >> http://www.google.com/search?q=ffs+qemu >> leads to some links that look promising. > > First one (http://qemu-forum.ipi.fi/viewtopic.php?f=5&t=4802) is mine. > No replies yet. Some others were read before these posts. I did not > find remedy. > > Thanks for bultin link, I'll investigate it... Talk to the MinGW guys, but the answer could be as simple as adding #if defined (__GNUC__) && !defined (__OPTIMIZE__) #define ffs(x) __builtin_ffs ((x)) #endif ... to some appropriate header file. cheers, DaveK -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |