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

From: Gus AT Citilink DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Compiling Allegro - problem
Date: Fri, 12 Sep 97 12:21:48 GMT
Organization: (missing)
Lines: 30
Message-ID: <5vbc5m$4eu$1@darla.visi.com>
NNTP-Posting-Host: ppp247.citilink.com
NNTP-Posting-Date: 12 Sep 1997 07:22:14 CDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello,

I'm running into the following problem when executing the makefile to build 
the allegro object files. The first few source files compile normally then it
errors out with something I don't understand.

  gcc -I. -Isrc -Wall -m486 -O3 -o obj/adlib.o -c src/adlib.c
  gcc -I. -Isrc -Wall -m486 -O3 -o obj/allegro.o -c src/allegro.c
  gcc -I. -Isrc -Wall -m486 -O3 -o obj/ati.o -c src/ati.c
  gcc -I. -Isrc -Wall -m486 -O3 -s -o obj/asmdef.exe src/asmdef.c
  obj/asmdef.exe src/asmdef.h
  writing structure offsets into src/asmdef.h...
  gcc -I. -Isrc -Wall -o obj/bank.o -c src/bank.S
  d:/djgpp/tmp\ccbaaaaa:assembler messages:
  d:/djgpp/tmp\ccbaaaaa:252: Error: register does not match opcode suffix
  d:/djgpp/tmp\ccbaaaaa:269: Error: register does not match opcode suffix
  make.exe *** [obj/bank.o] Error 1


The previous was being compiled on a Pent90, running Windows 95
in a DOS window.

I'm fairly new to C/C++ and very new to Gnu C Compilers and the flags.
But my simple C files have compiled fine in the DJGPP Enviroment so
I believe that it is set up correctly.

Any help would be greatly appreciated.
Thanks,
                ErikG 
                gus AT citilink DOT com

- Raw text -


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