delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/07/12/15:58:36

Date: Sun, 12 Jul 92 15:53:54 EDT
From: (Michael Sanders) <sanders AT server DOT physics DOT lsa DOT umich DOT edu.>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Joining, problem

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019