X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <4946DADF.7020202@sbcglobal.net> Date: Mon, 15 Dec 2008 22:31:59 +0000 From: Greg Chicares User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: GTK+ externals are unresolved References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 On 2008-12-15 21:19Z, M.O.D. wrote: > When I compile a GTK+ application in Cygwin, all the GTK externals are > unresolved. > > $ cc `pkg-config --cflags --libs gtk+-2.0` murg.c -o murg Does it work if you move the libraries after the source files? Something like this: $ cc `pkg-config --cflags gtk+-2.0` murg.c `pkg-config --libs gtk+-2.0` -o murg -- 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/