Re: includes

Search this archive.

From: Jay Link (jlink@ilbbs.com)
Date: Mon 02 Sep 2002 - 17:54:30 IDT


> If I want to compile a "demo" program directly using gcc, as in, for example
>
>        gcc -o ./demo ./demo.c
>
> what exactly do I need to have at the start of the demo program as includes?

#include <vga.h>
#include <vgagl.h>

gcc -o ./demo ./demo.c -lvgagl -lvga

If you use vgagl, it must come first on the compilation command line.


------------------------------------------------------------------
Unsubscribe:  To:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:25 IST