[AD] DJGPP compile error, solution

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


writing structure offsets into obj/djgpp/asmdef.inc...
gcc -Wall -Wno-unused -I. -I./include -x assembler-with-cpp \
-o obj/djgpp/alleg/iblit16.o -c src/i386/iblit16.s
In file included from src/i386/iblit16.s:23:
src/i386/asmdefs.inc:30: obj/unix/asmdef.inc: No such file or directory (ENOENT)

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



i am using djgpp with gcc 2.95.2    and __unix__ symbol  *IS* defined, so we have a 
problem ...   

I partly solved it by putting #elif DJGPP    before  #elif __unix__  in src/i386/asmdefs.inc

but it is not a permanent solution ... we should undefine __unix__ if  DJGPP is defined

can someone apply this change to the CVS ?

also,   mingw32  makefile does not work properly for me ...  it evaluates WINDIR_U
and WINDIR_D both to null...   and i have windir=c:\windows  set properly 
that's strange because MINGDIR evaluates corectly
to MINGDIR_U and MINGDIR_D ...

using DJGPP make.exe   works perfectly.



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