| Re: [AD] DJGPP compile error, solution |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
In reply to Igor Gnip (Igor Gnip <gnipi@xxxxxxxxxx>):
>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 am also using DJGPP, gcc 2.95.2, and __unix__ symbol is defined on my
system, yet I have no problems compiling/using latest version (CVS).
>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 ?
Hrm... my src/i386/asmdefs.inc goes like this (from line 23):
- cut here -------------------------------------------------------------
#if defined DJGPP
#include "obj/djgpp/asmdef.inc"
#elif defined __MINGW32__
#include "obj/mingw32/asmdef.inc"
#elif defined _MSC_VER
#include "obj/msvc/asmdef.inc"
#elif defined __WATCOMC__
#include "obj/watcom/asmdef.inc"
#elif defined __unix__
#include "obj/unix/asmdef.inc"
#elif defined __BEOS__
#include "obj/beos/asmdef.inc"
#else
#error unknown platform
#endif
- cut here -------------------------------------------------------------
Which version are you using, exactly?
Bye for now,
--
Laurence Withers, lwithers@xxxxxxxxxx
http://www.lwithers.demon.co.uk/
Attachment:
signature.asc
Description: PGP signature
| Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |