delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/18/03:45:30

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro
Date: 18 Mar 2002 08:03:18 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 21
Message-ID: <a74706$1ju$1@antares.lu.erisoft.se>
References: <002901c1cd9d$0fa1b520$20ed5ecb AT u4v4b7>
NNTP-Posting-Host: lws256.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Amish K. Munshi (amishmunshi AT yahoo DOT com) wrote:
: gcc -lalleg test.c -o test.exe

: the output is c:\djgpp\bin\ld.exe: cannot open -lalleg: No such file or
: directory (ENOENT)

Have you built allegro? And put -lalleg at the end of the command.

:     What am I doing wrong the autoexec.bat file is as follows

: PATH="d:\tc\bin;c:\tc\bgi;c:\djgpp\contrib\bcc2grx\src;C:\windows;C:\Program
: Files\Mts;c:\jdk\bin;c:\windows\command;C:\DJGPP\BIN"

It's a very bad idea to mix TC and DJGPP. Decide which one to use and
only have that one in the PATH. And DJGGP\BIN should be early in the
PATH.


Right,

						MartinS

- Raw text -


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