X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-Trace: 83528398/mk-filter-4.mail.uk.tiscali.com/B2C/$b2c-THROTTLED-DYNAMIC/b2c-CUSTOMER-DYNAMIC-IP/79.66.94.76/None/johne53 AT tiscali DOT co DOT uk X-SBRS: None X-RemoteIP: 79.66.94.76 X-IP-MAIL-FROM: johne53 AT tiscali DOT co DOT uk X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArwEAHr+5UhPQl5M/2dsb2JhbACEDE24MIFo X-IronPort-AV: E=Sophos;i="4.33,357,1220223600"; d="scan'208";a="83528398" Message-ID: <003f01c9258c$660320e0$4001a8c0@mycomputer> From: "John Emmas" To: Subject: A dumb question about static libs ? Date: Fri, 3 Oct 2008 19:15:29 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook Express 6.00.2900.2180 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 I'm sure this'll seem obvious to those of you who are more experienced with Cygwin than I am - but to me, it seems like a pretty reasonable question..... I understand that Cygwin isn't an emulator and therefore it can't run a standard Linux executable. I also understand why a Linux shared object can't be used with Cygwin as if it was a DLL. But what about static libs? I've noticed that if I use Cygwin's nm.exe I can list the contents of a Cygwin static lib. However, it also happily lists the contents of a conventional Linux static lib. So assuming (a) that the given Linux library was built for the right processor - and assuming (b) it's the right library for any associated header files, could it be used in building a Cygwin app? Anyone ever tried this? John -- 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/