ABC questions
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Sep 8 11:06:00 GMT 2003
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/
More information about the Cygwin
mailing list