home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / bakev100.zip / readme.txt < prev    next >
Text File  |  1995-05-22  |  1KB  |  22 lines

  1. The bake "quick reference" card.  See bake.doc for full documentation.
  2.  
  3.    Bake is a project manager for the EMX port of GCC.  You need to have the
  4. files "emxrt.zip", "emxdev.zip", "gccdev.zip", and "gppdev.zip" installed in
  5. order to use it.  It compiles and linkes C/C++ programs, re-using old object
  6. files from previous links (when appropriate) in order to speed things up.
  7.    Bake's like make, only a LOT easier to use.  The Bake file ("bakefile")
  8. consists of one "target" line (telling it what file to make) followed by one or
  9. more "source" lines, listing the source files.  That's it.  It figures out the
  10. dependencies (which other files to check for changes) by itself, and already
  11. knows how to use GCC under EMX to compile various types of target files.
  12.    Target lines can end in the extension ".exe" (native OS/2 32bit .exe),
  13. ".dll" (Dynamic Link Library), ".lib" (static link library), ".emx" (.exe that
  14. uses EMX unix emulator, runs under dos & OS/2), or ".em2" (.exe that uses both
  15. OS/2 code and EMX unix emulator.  Smaller & faster than ".emx" type .exe file.)
  16.   Source lines can end in the extensions ".c", ".C", ".cc", ".cxx", ".cpp",
  17. ".obj", ".o", ".lib", ".a", ".rc", or ".def".
  18.   Extra compiler options can go after the target line (where they're fed to
  19. every file being compiled, and the linker), or after a specific source file.
  20.  
  21.   The actual bakefile used to compile bake.exe is provided as an example.
  22.