home *** CD-ROM | disk | FTP | other *** search
- COPYRIGHT 1988 by Steve Collins
-
- This is the Documentaion for DO rev 1.1
-
-
- DO was written to avoid having to fool around with MAKEfiles for
-
- simple one-file C programs, but it has a wide variety of other potential
-
- uses. DO reads a special-format C comment (see below)
-
- and EXECUTES as if it were an AmigaDos batch file. The comment can
-
- contain those compiler and linker commands that you spend so much time
-
- typing:
-
-
- cc -n hello
- ln -g hello -lc -lm
-
-
- This allows you to put compiler options, linker options and libraries
-
- right in the sourcefile (where they belong). But that's not all.
-
- The comment can contain any valid AmigaDOS batchfile command, so you
-
- could do somthing like:
-
-
-
- echo "Go get some sleep while I print and compile this for you..."
- type hello.c to PRT:
- cc -n hello.c
- ln -g hello.o -lc
- copy hello to df0:test
- say "Get back in here! I am done compiling your stupid code!"
-
-
- DO should work with MANX, LATTICE or ANY other C compiler.
-
-
- DO reads a 'C' sourcefile and looks for the first multi-line comment
- in this format:
-
-
-
-
-
- /*DO: (DO ignores anything you put here)
-
- echo "this is a test"
- echo "of the DO utility"
-
- */ (DO ignores this too but your C compiler will not...)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The "/*DO:" and "*/ must start in the first column and DO ignores anything
-
- else on the line with them. All the normal AmigaDos batchfile syntax
-
- applies to the lines in between. You perform DO on files by typing:
-
-
- DO file1 file2...
-
-
- DO will then print out the comment that it is about to EXECUTE and
-
- begin EXECUTEing. If just want to know what would happen without actually
-
- EXECUTEing then type:
-
-
- DO file1 file2... -s
-
-
- DO is SHAREWARE.
-
- If you find you are using it on a regular basis, especially commercially,
-
- become a registered user ( $10.00 recomended ). Cheap licencing is
-
- available for bundling with other software.
-
- Send suggestions for improvements, bug reports and words of encouragement
-
- to:
-
- Steve Collins
- Shark Works
- 2369 W. 248 st.
- Lomita, CA 90717
-
- Compuserve 74260,15
- UUCP: <backbone>!gryphon!pnet02!collins
-