To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: large array gives exception 13 during cc1 From: rjhe AT oce DOT nl Date: Mon, 03 Jan 94 08:10:01 +0100 Sender: venlo!rjhe AT relay DOT NL DOT net I am trying to compile a file which only contains an image of 640x480 bytes: unsigned char image[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, ... 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; Well, this isn't the actual image, but i guess that doesn't matter. The problem is, that the compiler crashes in the cc1 stage, with an exception 13 (0x0d). Is there a known problem with large arrays, and is there a solution for my problem? I am still using version 1.9, because I am in the middle of a project and don't want to switch to 1.11 (I will if it solves my problem). Maybe someone wants to try this out with 1.11? Here are the relevant settings: djgpp v1.09 set GCC=c:/djgpp set COMPILER_PATH=c:/djgpp/bin set C_INCLUDE_PATH=c:/djgpp/include set CPLUS_INCLUDE_PATH=d:/djgpp/cplusinc;c:/djgpp/include set OBJC_INCLUDE_PATH=c:/djgpp/include set OBJCPLUS_INCLUDE_PATH=c:/djgpp/include set LIBRARY_PATH=c:/djgpp/lib set TMPDIR=c:/tmp set GO32TMP=c:/tmp set GO32=ansi emu c:/djgpp/emu387/emu387 driver c:/djgpp/contrib/libgrx/drivers/ stdvga.grn gw 640 gh 480 C: has appr. 25 MB of free space. Thanks, Rob Hegt