delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/08/07:06:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <corinna-cygwin AT cygwin DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019