Mail Archives: djgpp/1992/07/12/15:58:36
1. How do I join the mailing list?
2. I've just installed djgpp, and have a problem.
The simplest "Hello world" program, or even:
main()
{
return 0;
}
gcc tst.c yields
Segmentation Violation referencing address 0
Segmentation Violation referencing address 0
Segmentation Violation referencing address 0
I've copied the environment variables from readme, pkunzipped -d:
djdev107.zip djdoc107.zip djgas138.zip djgcc222.zip
got the specified directory structure, etc.
set COMPILER_PATH=c:/gcc/bin
set C_INCLUDE_PATH=c:/gcc/include
set CPLUS_INCLUDE_PATH=c:/gcc/cplusinc:c:/gcc/include
set OBJC_INCLUDE_PATH=c:/gcc/include
set OBJCPLUS_INCLUDE_PATH=c:/gcc/include
set LIBRARY_PATH=c:/gcc/lib
set TMPDIR=c:/tmp
set GO32TMP=c:/tmp
set GO32=ansi
rem driver c:/gcc/drivers/SOMETHING.grd gw 1024 gh 768
rem ^^^ whatever driver works with your
set BISON_SIMPLE=c:/gcc/lib/bison.simple
set BISON_HAIRY=c:/gcc/lib/bison.hairy
set FLEX_SKELETON=c:/gcc/lib/flex.skeleton
The same thing happens if I try to compile sort.cc in the
samples subdirectory.
Sorry if this is the wrong place for such a posting.
- Raw text -