www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/31/13:26:05

From: softbrek AT POOL DOT Informatik DOT RWTH-Aachen DOT DE
Subject: Re: segmentation violation during gnu c installation
To: ah230 AT leo DOT nmc DOT edu
Date: Tue, 31 Jan 1995 13:46:56 +0100 (MET)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp)

Sorry, Don, but we need a bit more information to help you:

> I have been trying to install the djp gnu c compiler.  I am not familiar 
> with unix.  I get a "segmentation violation in pointer 0x00014000 at 
> 40:14000 exception 14 (0xe) at eip=14000" error message.  

What command caused this error? What was the exact output (esp. that column
of numbers beginning with '0x'). What is your setup? (Memory manager(s), 
Windoze?, OS/2?, set GO32=??? , ...)

> I am not sure 
> how to compile a simple program and wonder if I missed some 
> documentation.  I typed "go32 gcc.exe main.c" for a quick test.  

That should be 'gcc.exe main.c'. For short, if there's a '.exe' at the
end of the file name, it is .exe-cutable; 'go32 whatever' is normally 
only needed for the files compiled newly, like this: 

	gcc test.c -o test
	go32 test

Later on, when it is no more a 'test', but an 'application', you
run 'coff2exe test', and then you'll get 'test.exe', which can be
run directly (though it needs to be able to find go32.exe somewhere).

> I am 
> using an ibm microchannel computer running dos5.00.  

Now, that's really bad luck, I think :-)

> I read that go32 uses 
> int15h.  I have used himem.sys as a driver in my config.sys file.  go32 does 
> not work with or without it.  himem.sys conforms to the xms specification 
> according to my dos manual. 

If you have the brand-new version of the package (gcc version 2.6.3, go32 version
1.12maint3), then you should try to put a 'device=c:\dos\emm386.exe ram' line
(you may want to add 'frame=none' to this line) into you config.sys, right after
the 'himem.sys' line. (There is a bug when you try to run this version on int15h or
XMS, it seems.)

> Than you for any assistance that you can 
> provide.  My computer has a 80386-SX microprocessor.
> Don ah230 AT leo DOT nmc DOT edu
> 
> 

Hans-Bernhard Broeker

- Raw text -


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