* ABC questions
@ 2003-09-08 10:29 Shigeyoshi Tsutsui
2003-09-08 11:06 ` Corinna Vinschen
0 siblings, 1 reply; 2+ messages in thread
From: Shigeyoshi Tsutsui @ 2003-09-08 10:29 UTC (permalink / raw)
To: cygwin
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?
One more is can we make target instead of target.exe when we use -o
target option?
Thank you,
Shige
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ABC questions
2003-09-08 10:29 ABC questions Shigeyoshi Tsutsui
@ 2003-09-08 11:06 ` Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2003-09-08 11:06 UTC (permalink / raw)
To: cygwin
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-09-08 11:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-08 10:29 ABC questions Shigeyoshi Tsutsui
2003-09-08 11:06 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).