Problems when linking X programs
Brian Dessent
brian@dessent.net
Thu Feb 16 10:26:00 GMT 2006
patrickl@bredband.net wrote:
> gcc -o Xtest -L/usr/X11R6/lib -lX11 Xtest.cpp
This is wrong. Order matters. Put -lX11 at the end (or after any
objects that refer to symbols in it), forgot all that other stuff.
Brian
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
More information about the Cygwin-xfree
mailing list