Mail Archives: djgpp/2001/01/20/09:51:32
al <slowdown AT yahoo DOT com> wrote:
> >You are building Allegro 3.12?
> >
> Yes, version 3.12, newly downloaded.
Which version of binutils?
There seems to be a compatibility problem with the latest version of
binutils. Do the example Allegro programs compile and run ok? Did
you check the Allegro home page about this?
Sorry, I can't suggest more than you either downgrade to binutils
2.8.1 or upgrade Allegro to a later version.
Perhaps someone else can offer some better suggestions? Here is the
output from an Allegro build with binutils 2.10, lots of similar
errors snipped:
Compiling Allegro. Please wait...
[snip]
writing structure offsets into obj/djgpp/asmdef.inc...
gcc -x assembler-with-cpp -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o
obj/djgpp/blit8.o -c src/blit8.s
d:/djgpp/tmp\cc960fxG.s: Assembler messages:
d:/djgpp/tmp\cc960fxG.s:280: Warning: indirect call without `*'
d:/djgpp/tmp\cc960fxG.s:347: Warning: indirect call without `*'
[snip]
gcc -x assembler-with-cpp -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o
obj/djgpp/blit16.o -c src/blit16.s
d:/djgpp/tmp\ccEgrsOR.s: Assembler messages:
d:/djgpp/tmp\ccEgrsOR.s:280: Warning: indirect call without `*'
d:/djgpp/tmp\ccEgrsOR.s:338: Warning: indirect call without `*'
[snip]
gcc -x assembler-with-cpp -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o
obj/djgpp/gfx8.o -c src/gfx8.s
d:/djgpp/tmp\cc6dq8Te.s: Assembler messages:
d:/djgpp/tmp\cc6dq8Te.s:266: Warning: indirect call without `*'
[snip]
d:/djgpp/tmp\cc6dq8Te.s:636: Warning: using `%cx' instead of `%ecx'
due to `w' suffix
d:/djgpp/tmp\cc6dq8Te.s:638: Warning: using `%si' instead of `%esi'
due to `w' suffix
d:/djgpp/tmp\cc6dq8Te.s:684: Warning: indirect call without `*'
gcc -x assembler-with-cpp -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o
obj/djgpp/gfx15.o -c src/gfx15.s
d:/djgpp/tmp\ccZ63Wws.s: Assembler messages:
[snip]
d:/djgpp/tmp\ccxXHSQy.s:598: Warning: using `%cx' instead of `%ecx'
due to `w' suffix
d:/djgpp/tmp\ccxXHSQy.s:600: Warning: using `%si' instead of `%esi'
due to `w' suffix
d:/djgpp/tmp\ccxXHSQy.s:646: Warning: indirect call without `*'
gcc -x assembler-with-cpp -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o
obj/djgpp/gfx24.o -c src/gfx24.s
d:/djgpp/tmp\cc8MxQSK.s: Assembler messages:
d:/djgpp/tmp\cc8MxQSK.s:271: Warning: indirect call without `*'
[snip]
d:/djgpp/tmp\cc8MxQSK.s:446: Warning: using `%ax' instead of `%eax'
due to `w' suffix
d:/djgpp/tmp\cc8MxQSK.s:489: Warning: indirect call without `*'
d:/djgpp/tmp\cc8MxQSK.s:684: Warning: using `%cx' instead of `%ecx'
due to `w' suffix
d:/djgpp/tmp\cc8MxQSK.s:686: Warning: using `%si' instead of `%esi'
due to `w' suffix
d:/djgpp/tmp\cc8MxQSK.s:736: Warning: indirect call without `*'
gcc -x assembler-with-cpp -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o
obj/djgpp/gfx32.o -c src/gfx32.s
d:/djgpp/tmp\ccvFbFvY.s: Assembler messages:
d:/djgpp/tmp\ccvFbFvY.s:269: Warning: indirect call without `*'
[snip]
gcc -x assembler-with-cpp -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o
obj/djgpp/sprite32.o -c src/sprite32.s
d:/djgpp/tmp\ccCK7teb.s: Assembler messages:
d:/djgpp/tmp\ccCK7teb.s:402: Warning: indirect call without `*'
[snip]
gcc -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -m486 -O3 -ffast-math
-fomit-frame-pointer -o obj/djgpp/gpro.o -c src/djgpp/gpro.c
d:/djgpp/tmp\ccmHHjWL.s: Assembler messages:
d:/djgpp/tmp\ccmHHjWL.s:72: Warning: using `%al' instead of `%eax' due
to `b' suffix
d:/djgpp/tmp\ccmHHjWL.s:84: Warning: using `%al' instead of `%eax' due
to `b' suffix
d:/djgpp/tmp\ccmHHjWL.s:154: Warning: using `%al' instead of `%eax'
due to `b' suffix
[snip]
gcc -x assembler-with-cpp -I. -Isrc -Iobj/djgpp -Wall -Wno-unused -o
obj/djgpp/irqwrap.o -c src/djgpp/irqwrap.s
d:/djgpp/tmp\cc5Uk7Uk.s: Assembler messages:
d:/djgpp/tmp\cc5Uk7Uk.s:215: Warning: indirect ljmp without `*'
[snip]
All done.
To use Allegro, #include allegro.h and link with liballeg.a
Example command line: gcc foobar.c -o foobar.exe -lalleg
Run make compress to run DJP or UPX on the executable files
Enjoy!
make.exe: Leaving directory `d:/djgpp/allegro'
- Raw text -