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:
- Check if you have good decompressed the files (check if there was folders in the ZIP file and if it was decompressed with folders).
- 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".
- Copy all ".H" files in the "djgpp/include" directory.
- Check if you have a minimum of 5 MB disk space.
- Check your AUTOEXEC.BAT file if there is the good directory for the environement variable of djgpp:
Example: set DJGPP=c:\DJGPP\DJGPP.ENV
- Check the file DJGPP.ENV and look if there are typed the right directorys.
- Reinstall Allegro 3.0
- Reinstall Make
- Reinstall Rhide (if you use it)
- Reinstall DJGPP V2
others:
Pentium® Optimization Cross-Reference by Instruction
RETURN
TO DJGPP MINE PAGE
DJGPP
MINE, Copyright
© 1998 Stephan Ferraro, SAF
TECHNOLOGIES PARIS include("/home/lazyfell/www/useronline/userin.php3"); ?>