DJGPP INFORMATIONS / FAQ / HELP

INFORMATIONS:

Delorie's DJGPP is the first FREE 32-BIT C compiler under DOS. DJGPP work under DOS and LINUX.
It exists a big FREE game library under DJGPP with the name Allegro (currently version 3.0). Many developpers use it !
For more informations about Allegro go to http://www.talula.demon.co.uk/allegro/ !

FAQ:

 

HELP:
How to compile a C file in a EXE file ?
type under DOS: gcc yourfile.c -o yourfile.exe

I have tested to compile a source code but he says ERRORS:

  1. Check if you have good decompressed the files (check if there was folders in the ZIP file and if it was decompressed with folders).
  2. Check if you have typed correctly.
    Examples:
    (a) Program without allegro: gcc yourfile.c -o yourfile.exe
    (b) Program with allegro: gcc yourfile.c -o yourfile.exe -lalleg
    (c) Program with many C files -> Check if there are a makefile djgpp (ex.: makefile., makefile.djg or makefile.dj2)
    If the name is "makefile.", type: "make"
    If the name is "makefile.djg or .dj2", type: "make -f makefile.djg" (or "make -f makefile.dj2")
    (d) A ".gpr" file: Type: "rhide" and click "open project". After this click to "run".
  3. Copy all ".H" files in the "djgpp/include" directory.
  4. Check if you have a minimum of 5 MB disk space.
  5. Check your AUTOEXEC.BAT file if there is the good directory for the environement variable of djgpp:
    Example: set DJGPP=c:\DJGPP\DJGPP.ENV
  6. Check the file DJGPP.ENV and look if there are typed the right directorys.
  7. Reinstall Allegro 3.0
  8. Reinstall Make
  9. Reinstall Rhide (if you use it)
  10. Reinstall DJGPP V2

others:
Pentium® Optimization Cross-Reference by Instruction

RETURN TO DJGPP MINE PAGE


DJGPP MINE, Copyright © 1998 Stephan Ferraro, SAF TECHNOLOGIES PARIS