From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7796 invoked by alias); 12 Sep 2003 20:17:12 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 7789 invoked from network); 12 Sep 2003 20:17:12 -0000 Received: from unknown (HELO ns2.prospeed.net) (12.46.111.140) by sources.redhat.com with SMTP; 12 Sep 2003 20:17:12 -0000 Received: from enterprise-e.cygwin.com ([12.46.110.44]) by ns2.prospeed.net (8.12.8/8.12.8) with ESMTP id h8CKNDC8000760; Fri, 12 Sep 2003 16:23:16 -0400 Reply-To: Cygwin List Message-Id: <5.1.0.14.0.20030912160157.03842e18@127.0.0.1> X-Sender: Date: Fri, 12 Sep 2003 20:17:00 -0000 To: Shigeyoshi Tsutsui , cygwin@cygwin.com From: Larry Hall Subject: Re: compile X window application In-Reply-To: <3F61E3D1.5030707@hannan-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2003-09/txt/msg00784.txt.bz2 At 11:18 AM 9/12/2003, Shigeyoshi Tsutsui you wrote: >I installed cygwin using "setup.exe". >The option I used is "install". >But I could not compile by >gcc -o target progam.c -lX11 >The error is "... ld: can not find -lX11" >Before, I got answer it caused loss of path of libX11.a. >But the file is not found in the system. > >Please someone help me! Before posting, you should avail yourself of all resources at cygwin.com. You'd find everything you need there to answer this question. To start, you can find any package that contains the file you're looking for (in general) at . In this case, enter "libX11.a" and it will tell you what package you need to install to get this file. Also, you should keep in mind that the cygwin-xfree list is the proper list for asking Cygwin X-specific questions. You may want to review before posting subsequent messages, so you're more certain you'll hit the right list the first time (not that you didn't this time necessarily). But use the lists as "last resorts", when you can't find the information you need in the available documentation or email archives. HTH, -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/