This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

internal compiler error while compiling allegro



I am trying to install djgpp + allegro (graphics library) under MSDOS.  I
grabbed the files that the djgpp zip picker told me to get:

djdev203.zip
gcc2952b.zip
bnu210b.zip
csdpmi5b.zip
mak3791b.zip
txi40b.zip

plus all3934.zip

I thought the djgpp install went OK because I was able to compile a small
test program. However when I tried to make the Allegro library, I got gcc
errors.
Here is an example:
-----------------------------------------------------------
Compiling Allegro for djgpp, optimised. Please wait...
 gcc -DALLEGRO_SRC -Wall -Wno-unused -mpentium -O2 -funroll-loops
 -ffast-math -fomit-frame-pointer -I. -I./include -o
 obj/djgpp/alleg/clip3d.o -c src/clip3d.c
 gcc -DALLEGRO_SRC -Wall -Wno-unused -mpentium -O2 -funroll-loops
 -ffast-math -fomit-frame-pointer -I. -I./include -o  
 obj/djgpp/alleg/clip3df.o -c src/clip3df.c
 gcc -DALLEGRO_SRC -Wall -Wno-unused -mpentium -O2 -funroll-loops
 -ffast-math -fomit-frame-pointer -I. -I./include -o
 obj/djgpp/alleg/colblend.o -c src/colblend.c
 gcc -DALLEGRO_SRC -Wall -Wno-unused -mpentium -O2 -funroll-loops
 -ffast-math -fomit-frame-pointer -I. -I./include -o
 obj/djgpp/alleg/color.o -c src/color.c
In file included from include/allegro.h:2168,
                 from src/color.c:33:
include/allegro/alinline.h: In function `_getpixel24':
 include/allegro/alinline.h:806: See
<URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
make.exe: *** [obj/djgpp/alleg/color.o] Error 1
 Internal compiler error in
`expand_inline_function', at integrate.c:2106
Please submit a full bug report.
---------------------------------------------------------------

Can anyone please give me suggestions about how to get djgpp/allegro
installed?  Maybe try an older version of djgpp (gcc, et al)? This is
apparently a problem in the gcc compiler...

BTW I am running freeBSD/dos dual boot, am grabbing files under freeBSD
and cp'ing them over to /dos partition. The files seem quite OK, but I am
mentioning this just in case it might cause some obscure errors.

Thanks very much for any help!

Bill Simpson




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]