Jump to content

Window creation/X11: Difference between revisions

Libraries containing function definitions must appear after source files to support compilers which search for external functions from left to right. For example, gcc 4.8.4 reports "undefined reference".
m (removed the omit from REXX.)
(Libraries containing function definitions must appear after source files to support compilers which search for external functions from left to right. For example, gcc 4.8.4 reports "undefined reference".)
Line 24:
 
Compile with:
* gcc hello-x.c -L/usr/X11R6/lib -lX11 hello-x.c -o hello-x
 
<lang c>#include <X11/Xlib.h>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.