Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <42C68E0A.6020307@familiehaase.de> Date: Sat, 02 Jul 2005 14:52:26 +0200 From: "Gerrit P. Haase" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 MIME-Version: 1.0 To: cygwin Subject: Re: Linking a (.a) and a (.dll) to an appl in cygwin References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes kali raj wrote: > HI > Iam trying to build an application that requries a static cygwin > library and a windows dynamic library. The static library(.a) is a > native Cygwin library and the dynamic libary (.dll) is an external > dynamic library of windows. When i build my cygwin applicatio using > gcc in cygwin it builds well and also links well. But while running > the static library of cygwin breaks throwing out some "not found" > errors. Is that possible to build such an application in CYGWIN/X that > requires a native static library of Cygwin and an external dynamic > libary of windows(XP). > > /********make file sample line *******/ > gcc -o test.exe test.o -lglut ../xxx.lib -mwindows > > /****************************************/ > > libglut.a ------ native cygwin static library > xxx.lib ---------- external windows dynamic library (xxx.dll) > > Do i need to add any compilation or linking options Not more than you already have used. What are the errors in detail? Gerrit -- =^..^= -- 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/