This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: ABC questions
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 8 Sep 2003 13:06:45 +0200
- Subject: Re: ABC questions
- References: <3F5C5A41.6010505@hannan-u.ac.jp>
- Reply-to: cygwin at cygwin dot com
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@cygwin.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/