X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4CB39D3F.6070602@redhat.com> Date: Mon, 11 Oct 2010 17:26:55 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.4 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: x86_64-w64-mingw32-g++ can't find -ldl References: <29938897 DOT post AT talk DOT nabble DOT com> In-Reply-To: <29938897.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 On 10/11/2010 05:23 PM, kenny AT ca wrote: > > I'm using x86_64-w64-mingw32 in cygwin as 64-bit compiler to build 64-bit > applications. Functions like dlopen(), dlerror(), etc., are used in codes. There's your problem. x86_64-w64-mingw32 is a cross-compiler. It compiles mingw executables, not cygwin executables. And mingw lacks dlopen. You'll never get this to work. If you want to compile 64-bit cygwin apps, then help us develop a 64-bit cygwin dll first. But for now, ALL cygwin apps are 32-bit, because cygwin has not yet been ported to 64-bit execution. -- Eric Blake eblake AT redhat DOT com +1-801-349-2682 Libvirt virtualization library http://libvirt.org -- 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