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/

Reply via email to