[AD] Bug - makefiles

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


I downloaded a fresh copy of Allegro from CVS, about 5 minutes ago, and
tried to build the MSVC version. There are some tests/win/* warnings dur
the fact that the directory (And its files don't seem to exist). Anyway,
the build process skipped over that and continued until it reached
poly3d.c. Make stopped saying it couldn't find mmx.h. Fair enough. I ran
make mmxtest, then make again and was on my way. Now here's the problem.
Once I get to the asm routines, make stops. Here's a copy of the error
message I get:

[cut]
G:\Microsoft Visual Studio\ALLEGRO>make PENTIUMONLY=1
Compiling Allegro for MSVC, optimised. Please wait...
gcc -D_MSC_VER -D_WIN32 -D_M_IX86 -U__GNUC__ -UDJGPP -U__unix__ -Wall
-I. -I./in
clude -x assembler-with-cpp -o obj/msvc/alleg/iblit16.obj -c
src/i386/iblit16.s
In file included from src/i386/iblit16.s:23:
src/i386/asmdefs.inc:26: obj/msvc/asmdef.inc: No such file or directory
(ENOENT)

make.exe: *** [obj/msvc/alleg/iblit16.obj] Error 1

G:\Microsoft Visual Studio\ALLEGRO>make PENTIUMONLY=1 asmdef
gcc -W1 -Gd -Ox -GB -MT    src/i386/asmdef.c   -o asmdef
gcc.exe: unrecognized option `-Gd'
gcc.exe: unrecognized option `-GB'
gcc.exe: unrecognized option `-MT'
src/i386/asmdef.c:27: obj/djgpp/mmx.h: No such file or directory
(ENOENT)
make.exe: *** [asmdef] Error 1
[/cut]

Seems I've stumbled upon 2 makefile bugs :(

Oh yes, compiling with or without PENTIUMONLY=1 doesn't change any of
the error messages.
Comping procedure:

delete msvc/allegro
copy home/allegro msvc/allegro
fixmsvc
make depend
fixdll
make PENTIUMONLY=1
(stops for obj/msvc/mmx.h)
make mmxtest
make PENTIUMONLY=1
(stops for asmdef)


--
- Robert J Ohannessian

"Microsoft code is probably O(n^20)" (My CS teacher)



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/