Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Reply-To: Cygwin List Message-Id: <5.1.0.14.0.20030912160157.03842e18@127.0.0.1> X-Sender: Date: Fri, 12 Sep 2003 16:11:44 -0400 To: Shigeyoshi Tsutsui , cygwin AT cygwin DOT 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" 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/