delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/09/07:03:58

From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: heres the info....
Date: Mon, 09 Jun 1997 11:09:31 +0200
Organization: TU Chemnitz-Zwickau
Message-ID: <339BC84B.70EF9759@Mathematik.tu-chemnitz.de>
References: <339B18A7 DOT 4E62 AT gapeach DOT net>
NNTP-Posting-Host: pandora.hrz.tu-chemnitz.de
Mime-Version: 1.0
Lines: 55
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jacob Martin wrote:
> 
> ERROR MESSAGES!!!
> 
> E:\DJGPP\EXAMPLES>gcc ex1.c

I'm not using allegro so often, but the first thing I do
when I get a new package is to read the readme's:

Here are some parts of them:

readme.txt:
[snip]
============================================
============ Installing Allegro ============
============================================
[snip]

   See allegro.txt for instructions on linking your program with
Allegro.


and now allegro.txt:

=======================================
============ Using Allegro ============
=======================================
See readme.txt for a general introduction, copyright details, and
instructions on how to compile Allegro.
All the Allegro functions, variables, and data structures are defined in
allegro.h. You should include this in your programs, and link with
liballeg.a. There are various ways you can do this:
   - Give full paths for everything, eg:
         #include </allegro/allegro.h>
         gcc foobar.c -o foobar.exe /allegro/liballeg.a
   - Add your Allegro directory to the include and library search paths
with
     the -I and -L compiler options, eg:
         #include <allegro.h>
         gcc -I/allegro -L/allegro foobar.c -o foobar.exe -lalleg
   - Add your Allegro directory to the C_INCLUDE_PATH,
CPLUS_INCLUDE_PATH,
     and LIBRARY_PATH in djgpp.env, and then:
         #include <allegro.h>
         gcc foobar.c -o foobar.exe -lalleg


Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019