www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/26/21:52:12

From: j DOT aldrich6 AT genie DOT com
Message-Id: <199607270148.AA083122085@relay1.geis.com>
Date: Sat, 27 Jul 96 01:24:00 UTC 0000
To: edward_a_markiewicz/osi DOT osi AT noteserv-notes DOT osi DOT com
Cc: djgpp AT delorie DOT com
Mime-Version: 1.0
Subject: Re: Can't find stdio.h

Reply to message 8125487    from EDWARD_A_MARK on 07/26/96  9:40AM


>Thanks for the help so far, but I do not know where I messed up yet.  This
note
>will HOPEFULLY answer the questions I have received in response to my last
memo.

Well, everything you posted _looks_ ok until you get to this point:

>Output of "set":
>
>COMSPEC=C:\COMMAND.COM
>PROMPT=$P$G
>TEMP=C:\TEMP
>PATH=C:\PCNFSPRO\BIN;C:\DJGPP\BIN;C:\DJGPP\INCLUDE;C:\DOS;C:\WINDOWS;C:\MACH64
>TZ=MST5MDT
>windir=C:\WINDOWS

I don't see a DJGPP= line in there anywhere!  There seems to be a problem
in your autoexec.bat that is preventing the "set DJGPP" line from being
executed.  Do you see any error messages when you boot up your computer?
If so, please post them.  Also, look at each program that your autoexec.bat
calls to make sure that it isn't a batch file.  Under DOS, if a batch file
calls
another without using the 'call' command, the remainder of the first batch
file is simply ignored.  From analyzing your system configuration, I'd say
the likely culprit is this line:

>c:\pcnfspro\ETC\NFSWAUTO

I'm even more certain that this is the case because somewhere in your
bootup 'C:\PCNFSPRO\BIN' is added to the front of your path, and there's
no such line anywhere in 'autoexec.bat'.

There's an easy way to debug this - when you see the line
'Starting MS-DOS...' as your computer boots up, press F8 to step
through your configuration files one line at a time.  When it gets to the
line above, watch to see if it ever returns to autoexec.bat.  If it doesn't,
there's the culprit.

The solution to the problem, if this is the case, is even easier--simply
change the line to the following:

call c:\pcnfspro\ETC\NFSWAUTO

Try that and then see if you're up and running.  :)

BTW, it looks extremely likely that that line was added by the installer
for your 'pcnfspro' program.  If it is indeed a batch file, then you need
to contact the publisher and report to them that they are using an
incorrect installation procedure.  Whenever you call one batch file
from another, you MUST use 'call' if you intend to return to the previous
one.

Hope this helps!

John

P.S.:  To test your DJGPP installation without messing with 'autoexec.bat',
it's always possible to simply type 'set DJGPP...' directly from the DOS
command line.  You can also do this and then see if DJGPP works.  One
thing, however - this won't work from a Windoze DOS shell, because it
for some reason won't allow you to modify the environment.  You must
exit Windoze to real DOS before 'set' will work.

- Raw text -


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