Window creation/X11: Difference between revisions
Content added Content deleted
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: | Line 24: | ||
Compile with: |
Compile with: |
||
* gcc -L/usr/X11R6/lib -lX11 |
* gcc hello-x.c -L/usr/X11R6/lib -lX11 -o hello-x |
||
<lang c>#include <X11/Xlib.h> |
<lang c>#include <X11/Xlib.h> |