delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/19/12:17:42

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Building Allegro library fails
Date: Thu, 18 Sep 1997 19:40:43 +0100
Organization: None
Distribution: world
Message-ID: <Cy$jYQArWXI0Ewa3@talula.demon.co.uk>
References: <3420F128 DOT 23A30A94 AT p15 DOT monet DOT cz>
NNTP-Posting-Host: talula.demon.co.uk
MIME-Version: 1.0
Lines: 26
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Ales Radikovsky writes:
>When I try to build the Allegro, I get error message:
>
>C:\ALLEGRO>make
>Compiling the djgpp version of Allegro. Please wait...
>gcc -I. -Isrc -Isrc/djgpp -Iobj/djgpp -Wall -Werror -m486 -O3
>-ffast-math -fomit
>-frame-pointer -s -o obj/djgpp/asmdef.exe asmdef.c
>gcc.exe: asmdef.c: No such file or directory (ENOENT)

A wild guess: are you running this under NT? For some screwy reason, the
Allegro makefile doesn't work correctly under NT, either because I'm
abusing the make VPATH directive or because there is some subtle bug in
make. I don't have a copy of NT to experiment on, but I'll rewrite the
makefile so it works in the next version. For now, either build under a
different OS, or compile the offending files (asmdef.c, and I think also
some of the doc files) by hand, copying the commandline that make issues
but changing the filename to have a full path, eg:

gcc -I. -Isrc -Isrc/djgpp -Iobj/djgpp -Wall -Werror -m486 -O3
-ffast-math -fomit-frame-pointer -s -o obj/djgpp/asmdef.exe src/asmdef.c


--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
Beauty is a French phonetic corruption of a short cloth neck ornament.

- Raw text -


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