X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.4 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: <4f8dccd00905261133j39ec79b1hf0111102fa6d1776@mail.gmail.com> References: <4f8dccd00905261133j39ec79b1hf0111102fa6d1776 AT mail DOT gmail DOT com> Date: Wed, 27 May 2009 11:12:46 +0200 Message-ID: <1de9d39c0905270212s40462c46r373dc983889fe966@mail.gmail.com> Subject: Re: Static linking issue under cygwin. From: jean-luc malet To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Tue, May 26, 2009 at 8:33 PM, Vladimir A. Petrov wrot= e: > Andre, > >> The correct order for searching the libraries is: -lglut32 -lglu32 -lope= ngl32 >> >> fly-cubes.c must be _before_ the libraries. Chuck's response was correct= about this last point, >> but wrong about the librairies order. > > Thank you for your clarification. > > --- > /vap/ > > -- > Unsubscribe info: =C2=A0 =C2=A0 =C2=A0http://cygwin.com/ml/#unsubscribe-s= imple > Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html > Documentation: =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/docs.html > FAQ: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http:= //cygwin.com/faq/ > > I never managed to build something that link against those libs. if you strip the "32" at the end of each libs it shall work ie use : lglut -lglu -lGL however I don't know but every package that use autotools try to link with theses.... what is the difference between -lopengl32 and -lGL? thanks JLM --=20 KISS! (Keep It Simple, Stupid!) (garde le simple, imb=C3=A9cile!) "mais qu'est-ce que tu m'as pondu comme usine =C3=A0 gaz? fait des choses simples et qui marchent, esp=C3=A8ce d'imb=C3=A9cile!" ----------------------------- "Si vous pensez que vous =C3=AAtes trop petit pour changer quoique ce soit, essayez donc de dormir avec un moustique dans votre chambre." Betty Reese http://www.grainesdechangement.com/citations.htm -- 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/