X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.3 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: <4A184ED3.70504@aol.com> References: <4f8dccd00905231221v2f82acb9rcf1ffa9f228650be AT mail DOT gmail DOT com> <4A184ED3 DOT 70504 AT aol DOT com> Date: Sun, 24 May 2009 00:02:58 +0400 Message-ID: <4f8dccd00905231302kbcd4bd2v4111e3492824db13@mail.gmail.com> Subject: Re: Static linking issue under cygwin. From: "Vladimir A. Petrov" To: tprince AT computer DOT org, cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 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 Hi, Tim, 2009/5/23 Tim Prince : > Vladimir A. Petrov wrote: > > Not strange, when gnu ld depends on order of libraries for static linking. > =A0ld doesn't rescan libraries when new references are added after the sc= an. > =A0It's strange enough to attempt to link libraries installed under "Prog= ram > Files" If you would to read my initial message till the end you will notice that the same problem happens with the legal Cygwin libraries opengl and freeglut which is located in usual dirs like /usr/lib. By the way why "Program Files" directory is worse than others if it easily can be accessed by the fully qualified path? Try to say that it is strange enough to the PostgreSQL guys, they are decided to put their libs there, not I, I've just used default installetion paths. :-) Thanks. --=20 --- /vap/ -- 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/