home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 22 gnu
/
22-gnu.zip
/
bakev100.zip
/
readme.txt
< prev
next >
Wrap
Text File
|
1995-05-22
|
1KB
|
22 lines
The bake "quick reference" card. See bake.doc for full documentation.
Bake is a project manager for the EMX port of GCC. You need to have the
files "emxrt.zip", "emxdev.zip", "gccdev.zip", and "gppdev.zip" installed in
order to use it. It compiles and linkes C/C++ programs, re-using old object
files from previous links (when appropriate) in order to speed things up.
Bake's like make, only a LOT easier to use. The Bake file ("bakefile")
consists of one "target" line (telling it what file to make) followed by one or
more "source" lines, listing the source files. That's it. It figures out the
dependencies (which other files to check for changes) by itself, and already
knows how to use GCC under EMX to compile various types of target files.
Target lines can end in the extension ".exe" (native OS/2 32bit .exe),
".dll" (Dynamic Link Library), ".lib" (static link library), ".emx" (.exe that
uses EMX unix emulator, runs under dos & OS/2), or ".em2" (.exe that uses both
OS/2 code and EMX unix emulator. Smaller & faster than ".emx" type .exe file.)
Source lines can end in the extensions ".c", ".C", ".cc", ".cxx", ".cpp",
".obj", ".o", ".lib", ".a", ".rc", or ".def".
Extra compiler options can go after the target line (where they're fed to
every file being compiled, and the linker), or after a specific source file.
The actual bakefile used to compile bake.exe is provided as an example.