www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/17/23:27:10

From: gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk (George Foot)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP HELP!!!
Date: 17 Feb 1997 22:59:55 GMT
Organization: Oxford University
Lines: 18
Message-ID: <5eantb$d1r@news.ox.ac.uk>
References: <01bc1de5$9f413ba0$0100007f AT default>
NNTP-Posting-Host: mc31.merton.ox.ac.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eclipse (maciek AT compmore DOT net) wrote:
: When I downloaded the Allegro source code and tried compiling it, I got the
: messages.
: In the C:\ALLEGRO directory I typed this, gcc -o ex1.exe ex1.c

RTFM :)

Having run 'make' in C:\ALLEGRO, you should copy allegro.h into 
C:\DJGPP\INCLUDE and liballeg.a into C:\DJGPP\LIB. Then, add to 
the *end* of your gcc command line: -lalleg, i.e.

gcc -o ex1.exe ex1.c -lalleg

This links in the library code and should eliminate those errors.

-- 
George Foot <gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk>
Merton College, Oxford.

- Raw text -


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