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 Date: Mon, 8 Sep 2003 13:06:45 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: ABC questions Message-ID: <20030908110645.GE1859@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3F5C5A41 DOT 6010505 AT hannan-u DOT ac DOT jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F5C5A41.6010505@hannan-u.ac.jp> User-Agent: Mutt/1.4.1i On Mon, Sep 08, 2003 at 07:30:25PM +0900, Shigeyoshi Tsutsui wrote: > Hi, > > Sorry my ABC question on sygwin. > When I try to compile X window program > by > gcc -o target test.c -lX11 > ld failed. The message is > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: > cannot find -lX11 > > Could someone let me know the reason? libX11.a is not in the lib search path. Use the -L option or the LD_LIBRARY_PATH environment variable. See `info gcc' for more info. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/