From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27893 invoked by alias); 16 Dec 2008 20:38:15 -0000 Received: (qmail 27886 invoked by uid 22791); 16 Dec 2008 20:38:15 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from yw-out-1718.google.com (HELO yw-out-1718.google.com) (74.125.46.153) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 16 Dec 2008 20:37:24 +0000 Received: by yw-out-1718.google.com with SMTP id 9so1390340ywk.38 for ; Tue, 16 Dec 2008 12:37:21 -0800 (PST) Received: by 10.65.163.8 with SMTP id q8mr7694488qbo.55.1229459840516; Tue, 16 Dec 2008 12:37:20 -0800 (PST) Received: from ?192.168.0.100? (S0106001346f94b85.wp.shawcable.net [24.76.249.6]) by mx.google.com with ESMTPS id 12sm380311qbw.9.2008.12.16.12.37.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Dec 2008 12:37:19 -0800 (PST) Message-ID: <4948117F.6080208@users.sourceforge.net> Date: Tue, 16 Dec 2008 20:38:00 -0000 From: "Yaakov (Cygwin/X)" User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: GTK+ externals are unresolved References: <002701c95f06$c7c2e190$4001a8c0@mycomputer> <49480D5D.8090002@x-ray.at> In-Reply-To: <49480D5D.8090002@x-ray.at> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2008-12/txt/msg00401.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Reini Urban wrote: > > The order of libs is wrong for $(pkg-config --libs gtk+-2.0) > > -lgtk-x11-2.0 -lgdk-x11-2.0 should be at the end. > > $ pkg-config --libs gtk+-2.0 > -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 > -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext -lfontconfig > -lpangox-1.0 -lX11 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 > -lglib-2.0 -lintl -liconv No, this is correct. > Windows need the libs in the correct order, i.e. backwards. No, the order is as with --as-needed on Linux, and in this case, where all those libs are shared, the order doesn't matter at all as long as they come after the object files which require them. Yaakov -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAklIEX4ACgkQpiWmPGlmQSOEagCg+z7xRXQuBllMCordXqnN4U9y 92EAoMazY6W9kjayeOw2g577yq0BVHzw =Vehj -----END PGP SIGNATURE----- -- 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/