www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/03/13/23:06:00

Original-Received: Mon, 13 Mar 1995 18:40:37
-0800 from spelunker.arc.nasa.gov by cave.arc.nasa.gov
(8.6.8/1.2)
PP-warning: Illegal Received field on preceding line
From: Mark Elston <elston AT cave DOT arc DOT nasa DOT gov>
Date: Mon, 13 Mar 1995 18:40:34 -0800
To: rdavis AT sunset DOT scu DOT edu
Cc: gnat-report AT cs DOT nyu DOT edu, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: getting gnat on PC w/DOS

> From: rdavis AT sunset DOT scu DOT edu (Ruth Davis)
> Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
> 
> I'm not sure to whom I should address this, but ...
> 	I'm TRYING to get gnat going on a PC. I copied the distribution files
> and unzipped everything, I changed my autoexec.bat and config.sys files as
> directed. when I do the "cd examples" and "make" I get
> 	
> 	rm -f *.o *.ali b_*.c *.s *.exe
> 	bad command or file name
> 	bad command or file name
> 	bad command or file name
> 	bad command or file name
> 	bad command or file name
> 	gcc -c -02 hello.adb
> 
> and my machine freezes (I have to do a hard reset).
> 
> Any suggestions?
> 
> thanks,
> Ruth Davis
> 

First, it looks like you may need the binutils package (available at
all SimTel mirrors in the msdos/djgpp directory).  That will solve
the 'bad command or file name' problem.  ('rm' is included in the
binutils package).

As for the second problem, well, I am not sure without more
information, but I would suggest getting the full djgpp package (at
least the minimal development zip files).  Get the djgpp.readme (all
readme's, in fact) and determine which files you need to get.  Then
install these according to the directions.  Be sure to get *all* of
the maintenance releases as well.  I am not sure where the GNAT stuff
falls in the djgpp release scheme but I did notice different sizes for
some of the executables that both packages had in common.

I already had djgpp installed (up to the latest maintenance release --
release 4) and installed the GNAT stuff in a different location just
to study the differences.  I found that if you copy the GNAT specific
executables into the djgpp/bin directory and do the same for the
includes and libraries that everything works as advertised.  You don't
even need the 'gcc.exe' that comes with GNAT.  The one that comes with
djgpp works fine.

I hope this helps.  Good Luck.

Mark

- Raw text -


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