home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 5
/
FreshFish_July-August1994.bin
/
bbs
/
dev
/
cpump-1.7.lha
/
CPump-1.7
/
ReadMe.txt
< prev
next >
Wrap
Text File
|
1994-04-04
|
13KB
|
323 lines
C P u m p
An Amiga Intuition-based C development environment.
© Copyright 1992, 1993, 1994, David A. Faught, All right reserved.
This program is provided "as is", no warranties are made.
All use is at your own risk. No liability or responsibility
is assumed.
Several other products are mentioned in this document. Each
trademark is owned by it's respective owner.
The right to freely distribute this program at no cost is
hereby granted, as long all files listed below are included
and all files included remain UNALTERED. These files may be
included in a collection of freely distributable software,
as long as the cost of that collection is previously deemed
reasonable by the author. Fred Fish is specifically given the
right to distribute these files.
The files included are:
-----rwed 1 961 Apr 4 21:42 CPump
-----rwed 18 18340 Apr 4 21:42 CPump17
-----rwed 26 26312 Apr 4 21:42 CPump17.c
-----rwed 17 16636 Apr 4 21:42 CTags
-----rwed 25 25179 Apr 4 21:42 CTags.c
-----rwed 9 8428 Apr 4 21:42 CTagSel
-----rwed 8 7290 Apr 4 21:42 CTagSel.c
-----rwed 1 505 Apr 4 21:42 EdErr.rexx
-----rwed 1 826 Apr 4 21:42 EdTag.rexx
-----rwed 13 13137 Apr 4 21:47 ReadMe.txt
Dirs:0 Files:10 Blocks:119 Bytes:117614
-----------------------------------------------------------
If you like this program, or would like to support my future
developments, please send a monetary or Amiga hardware gift
(not deductible) to:
David Faught
8701 North 64th Street
Brown Deer, WI 53223
You will be added to my mailing list for a fee of $10
or more, and will be notified of my future developments.
This program requires AmigaDos 2.04 or better. It will not
function at all with 1.3.
I can also be contacted by email only (no files shipped please) at:
akcs.dfaught@vpnet.chi.il.us
------------------------------------------------------------
Version 1.7, April 1994
Enhanced some utilities so that their output is redirected to a
temporary file that can be browsed. Enhanced CTags so that it
accepts an Amiga wildcard pattern as the input file(s) and
Edtag.rexx to use this facility. This will also work for ".cxx"
and ".cc" files. Upgraded GCC support so that it works with
version 2.5.8 of C and C++. Other little things here and there
that I have forgotten about.
Version 1.6, January 1993
Several enhancements including EdTag facility, better environment
variable handling, smaller CPump window to allow better view of
shell window being driven. Also added the Amiga "E" compiler for
the heck of it.
Version 1.5, January 1993
The Open and Save functions were fixed so that any number of
selected files will be copied. Also added the keyboard equivalents
for all the main functions and the ARexx Test tool.
Version 1.4, December 1992
The "CPump.env" environment variable was added to the CPump script
and to the main program to select initial settings for the four
cycle gadgets. These settings start with 0 (zero) and specify the
element of each of the four cycle gadgets to initially display.
The gcc (GNU C Compiler) and the Textra editor were added.
I think there were a few other minor things fixed too.
Version 1.3, August 1992
This is to fix a bug with the "initcc" script. This did not work
as distributed. Now you MUST edit the script file "CPump" for your
environment and execute it to start up the program. The "initcc"
script was replaced by this. It happens that this change actually
makes it easier to run CPump from the WorkBench than from the
shell.
Version 1.2, August 1992
I have added support for (old) version 4.0 of the SAS/Lattice
C compiler. This may work for newer versions, too. I did this
mainly because I found it gathering dust in an old box of disks.
An icon and script for the AmigaDos IconX command now allow
CPump to be run from the WorkBench.
I have changed the "Utility" gadgets to be a single list-type
selector. Just click on the utility you want to use.
The zoom gadget in the upper right now "iconifies" the CPump
window.
Running all commands is now done using the new "System()" call
instead of the old "Execute()". This allows the proper return
code to be displayed.
Source code is now included. You may make modifications for
your own personal use only. The unregistered version of DICE
along with the NDU from CATS will work to compile this program.
I highly recommend registering DICE.
Various other minor modifications have been made.
Version 1.1
Not released.
Version 1.0
This little utility was born from my frustrations with
using the CLI for compiling and testing my C programs. Even
with the shell command history, it just seemed like too much
trouble to remember the right commands and options,
especially after one of my attempts would get the guru's boot
and a reboot.
This program is an easy to use shell that invokes a number
of other programs. These other programs are not included
here, but are easily accessible in collections of freely
distributable software for the Amiga. It is not necessary to
have ALL of the programs listed here. For example, there is
no real reason to use both the DICE and PDC compilers, but
one or the other is required.
If you have them, this program will make use of:
ED & MEmacs text editors included with AmigaDos,
Dillon's Integrated C Environment (DICE) - including the
DME text editor and ANSI C compiler available on Fred
Fish disk 491,
Publicly Distributable C (PDC) - compiler and several
utilities with complete source available on Fred Fish
disk 351,
MuchMore - text display program available on Fred Fish
disk 560 (and several others in the :c directory),
CRef - C cross reference lister available on Fred Fish
disk 166,
Indent - provides consistent indentation of C source
available on Fred Fish disk 262.
It is also highly recommended that you get a copy of the
Native Developer Update (NDU) from Commodore Amiga Technical
Support (CATS) as it contains all the Amiga specific headers
needed to take advantage of the great Amiga features. It
also contains lots of examples, development tools,
debugging tools, and the AutoDocs. Information on how to
acquire the NDU is included with both PDC and DICE.
--------------------------------------------------------
INSTRUCTIONS:
This program can be used from the CLI or the Workbench. It
must be started using the CPump script. When started from the
Workbench, iconx is used to execute the CPump script.
Consider the CPump script included to be a starting point
that you should edit to reflect your own Amiga's environment.
In particular, the directory containing either the DICE or PDC
commands (or both) must be added to the command search path
using the "path add" command.
When you run this program, it presents a window with a bunch
of gadgets on it. These gadgets define the steps that I use
when developing a C program, along with the tools used at
each step and a few options. Down the left side of the window
are 6 pushbuttons which execute the 6 development steps.
Down the middle are some cycle gadgets which determine
the tool to be used for each step. In a line across the
middle are some boxes you can check to set certain options
for the Compile step.
Select the tools you wish to use by clicking on the cycle
gadgets on the right. You should probably do this first,
before you attempt to execute any of the 6 steps on the
left. Then, when you push any of the 6 pushbuttons to
execute a step, a filerequester will appear so that you can
select the file(s) you wish to use for that step.
Some steps allow multiple files to be selected, and other
steps only allow a single file. Sometimes, the filerequester
will have a pattern selector that filters the files you see
to include only those with certain suffixes. You can edit
this selection pattern on the filerequester, if you wish.
When you have selected the file(s) for that step, push the
"OK" button on the filerequester. The tool that you have
selected for that step will be executed with the file(s)
you have selected. Pretty simple, huh? You can also double-
cli