To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: large array gives exception 13 during cc1 From: rjhe AT oce DOT nl Date: Tue, 04 Jan 94 08:17:57 +0100 Sender: venlo!rjhe AT relay DOT NL DOT net Yesterday I wrote about a crashing compiler with large arrays (exception 13). I did not receive any replies, which may be because of strange things happening with our mailer sw (?). Anyway, the problem is still there, so if anyone knows anything about these kind of problems, please reply to rjhe AT oce DOT nl An additional question to the questions in my original mail (which you can find below): what is an exception 13? Thanks, Rob Hegt -------------------------------------------------------- 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.