To: djgpp AT sun DOT soe DOT clarkson DOT edu Cc: mouser AT cs DOT UMD DOT EDU Subject: Re: how to access 0x00800000 Date: Mon, 01 Feb 93 19:35:49 -0500 From: mouser AT cs DOT UMD DOT EDU Ok, maybe I'm missing something done, but when I compile a simple program: >> main() { printf("hello world\n"); } I get the following error: >> Segmentation violation in pointer 0x00000000 at 18:14eb >> Segmentation violation in pointer 0x00000000 at 18:14eb >> d:/tmp/cc000000.i:1 parse error at null character I'm running DOS 5 on a 486, with the following autoexec.bat: >> @echo off >> set HOME=d:/ >> set COMPILER_PATH=d:/gcc/bin >> set C_INCLUDE_PATH=d:/gcc/include >> set CPLUS_INCLUDE_PATH=d:/gcc/cplusinc:d:/gcc/include >> set OBJC_INCLUDE_PATH=d:/gcc/include >> set OBJCPLUS_INCLUDE_PATH=d:/gcc/include >> set LIBRARY_PATH=d:/gcc/lib >> set TMPDIR=d:/tmp >> set GO32TMP=d:/tmp >> set GO32=ansi driver emu c:\gcc\emu387\emu387 d:/lpmud/drivers/tseng4k.grd gw 1024 gh 768 >> set BISON_SIMPLE=d:/gcc/lib/bison.simple >> set BISON_HAIRY=d:/gcc/lib/bison.hairy >> set FLEX_SKELETON=d:/gcc/lib/flex.skeleton ...and my path includes d:/gcc/bin. Any help will be GREATLY appreciated. David