delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/04/01/14:28:22

From: Moo Kim <kim AT sparc DOT SanDiegoCA DOT ncr DOT com>
Subject: How to set the Include directives in DOS ?
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Fri, 1 Apr 1994 10:31:17 -0800 (PST)

 Hi DJGPP users,

  I just installed the gcc package last night following the installation
  instruction (as below) on my 486 DOS PC, C:\DJGPP.   After the installation, 
  I tried to compile the test programs and gcc could not find the <stdio.h> 
  resides in my C:\DJGPP\INCLUDE directory.    Being a novice on DOS, I do 
  not know how to set the GCC include path so that gcc automatically searches 
  the \DJGPP\INCLUDE directory.   GCC attempted to search the UNIX include path
  (e.g. /usr/include) and it failed to find the include file.  I think it 
  also applied to using GCC++ that GCC++ related include files are copied 
  to a seperate directory at C:\DJGPP\xxxxx (I can't remember the exact name).

  Is there something I missed to do in installation or ??

 Thanks,

 -Moo Kim



INSTALLING:

To install, you must do the following:

* Create a "temp" directory, like c:\tmp.

* Create a directory to install in, like c:\djgpp.

* Un-zip the appropriate zipfiles in the install directory.
    C:\DJGPP> unzip -o djeoe111.zip     (Minimum runtime stuff - required)
    C:\DJGPP> unzip -o djdev111.zip     (Minimum development stuff - required)
    C:\DJGPP> unzip -o gcc257bn.zip     (The C compiler - required)
    C:\DJGPP> unzip -o gas211bn.zip     (The assembler - required)
    C:\DJGPP> unzip -o bnu22bn.zip      (The linker etc - required)
    .
    .
    .
    .
    .
* Add your binaries directory to your PATH in C:\AUTOEXEC.BAT
    SET PATH= . . . ;c:\djgpp\bin

That's it! djgpp is now installed on your system.


- Raw text -


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