home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
LA
/
LA024.ZIP
/
README.SUP
< prev
next >
Wrap
Text File
|
1990-08-14
|
17KB
|
420 lines
IMPORTANT NOTE: SMAK.EXE, MS.EXE, and BOR.EXE are self - extracting
compressed archives, not executable files. The only executable file that
can be run before installation is INSTALL.EXE.
Thank you for using SUPER MAKE. I hope you will like using it.
You can conveniently read this file from within INSTALL, and print it to
your printer (if installed on lpt1) if you want to.
The topics covered in this file are:
1. Shareware
2. Installation
3. Manual (How to view and print out)
4. Settings
5. Compiler Support
6. The future
7. Product Support
8. Printing Utilities
9. The sample files
10. A note on building libraries
1. SHAREWARE:
The advantage to using shareware is that you get to "try before you buy"
the program. There are many excellent shareware packages, and I hope
you will feel SUPER MAKE is one of them. If you do, and you use the
program beyond 30 days, you must register your copy.
Registration has many advantages:
1. You get the latest version of SUPER MAKE on disk with a printed manual.
2. The version you recieve has the registration reminder screens removed.
3. You get a serial number that entitles you to technical support.
4. You help support a programmer who, like yourself, is trying to make
a living. By doing this you help support the program itself, because
I will have the ability to continue improving it.
5. You will recieve upgrade notices and you will be able to upgrade at
a discount.
Registering SUPER MAKE is $55. Such a deal! See the file reg.frm for a
registration form (you may do this by mail, or by plastic-- EmmaSoft
accepts phone registrations if you have Master Card or Visa).
SUPER MAKE was written by Dan Veaner, an ASP (Association of Shareware
Professionals) member. For more information about shareware and the ASP
see chapter 11 in the manual. See "Product Support" below to see how to
reach me.
2. INSTALLATION:
The following files MUST be on your distribution disk, or contained in
the .zip file you recieved SUPER MAKE on. If any of these are missing
PLEASE CONTACT EMMASOFT IMMEDIATELY (if any of these files are missing
you have recieved an unauthorized package. To insure that you get a
complete version that is virus free you must have an authorized package.
You may get the distribution disk for a small fee from EmmaSoft or from
authorized shareware distributers, or get the .zip file from several
bulletin boards:
File Name Description
SMAK EXE SUPER MAKE Files
MS EXE Microsoft Language Definition Files
BOR EXE Borland Language Definition Files
INSTALL EXE Automatic Installation Program
README SUP This File
REG FRM Registration Form
S COM Landscape Print Utility
SL COM Landscape Print Utility
VENDOR DOC File for Shareware Vendors
SUPER INF Brief Description of SUPER MAKE
SUPER MAKE needs about 420K on your hard disk.
You should use the automatic installation program to install SUPER MAKE.
It will copy the SUPER MAKE files to your hard disk, create directories,
if needed, set up an initialization file, and perform a few other tasks.
To begin type: INSTALL <Enter>
You really need a hard drive to use SUPER MAKE, but INSTALL.EXE will let
you install to two floppies if you want to. If you choose to do this you
must have two formatted disks ready before you start.
You MUST use INSTALL.EXE to create the initialization file needed by the
three programs. This is an option (b) on the main Installation menu. Do
not try to run any of the SUPER MAKE programs without creating this file
(most likely your computer will crash).
INSTALL.EXE checks to make sure there is enough room on the target disk
before beginning the installation.
Just answer the questions you are asked as you go along. If you change your
mind INSTALL lets you change your answers before it begins installation.
NOTE: You should let INSTALL create the directory that will hold SUPER MAKE
in most instances, even if the directory already exists (in which INSTALL
doesn't change it). If you do NOT, the SUPER MAKE files are installed to the
root directory of your disk.
SUPER MAKE consists of three programs:
SUPER MAKE A make program
SUPER MAKE Editor Automatically generates make and
other files
SUPER MAKE Help Facility Used by maker, or can be used as
a stand alone program
Information for manual installers:
The Installation program will NOT make new directories or change your
autoexec.bat file unless you explicitly give it permission to do so.
The program does not touch your config.sys file or any other files on
your computer.
On your disk there are two files, SMAK.EXE and SHLP.EXE. These
are self extracting files containing the SUPER MAKE Editor,
SUPER MAKE and the SUPER MAKE Help Facility, and the help files needed by
the three programs. If you do not want to automatically install you may
manually install by typing: [progname][destination] (where progname is
SMAK or SHLP, and destination is the drive and directory you are
installing to.
There are two other files called MS.EXE and BOR.EXE. These are self-
extracting files with sample language definition files for Microsoft and
Borland users. To get these files type: MS [drive:\path] or
BOR [drive:\path].
You MUST set the SUPERFILES variable in your DOS environment, and add
the SUPER MAKE directory to your PATH command from your AUTOEXEC.BAT FILE.
If you let INSTALL change your autoexec.bat file for you these commands are
put in automatically. If not you should do two things:
1. Add the directory containing SUPER MAKE files to your path
2. Add this command: SET SUPERFILES=C:\SUPER (where "C:\SUPER is
the drive and directory containing your SUPER MAKE files).
IMPORTANT NOTE: It is assumed in these documents that your compilers
are kept in directories that are included in your PATH command. If they
are not SUPER MAKE will not be able to call them.
3. MANUAL:
You may view the manual on line in the SUPER MAKE Editor, or when using
the Help Facility. Most of the manual may be viewed in this way. For
the complete manual you will want a printed manual. To get a printout
of the manual either go into the toolbox menu in the SUPER MAKE Editor,
or call the Help facility as follows: SMH MANUAL. You will see a table
of contents on your screen.
Press Ctrl-p. You are now prompted for a printer or filename. If you
want to print directly to your printer type Enter (for lpt1), or you
may type lpt2, com1, or com2 if you printer is attached to one of these
ports. If you want to print to a file (for importation into a word
processor, or to print later) type a file name (I always type "manual").
What's in the printed version that isn't in the on-line version? Mostly
example files, although there are one or two other things (like an index).
By the way, the manual is about 60 pages long.
4. SETTINGS:
SUPER MAKE attempts to automate the process of program development as
much as possible. You should be aware that the following are set for
SUPER MAKE as well as the SUPER MAKE Editor in the Setup Menu of
the SM Editor:
In "Super Make Files":
1. Directory to put .OBJ files
2. Directory to put executable files
And in "Defaults":
3. Brand of your compiler(s), linker, librarian
The thinking behind this is that these things won't change very often
for the average user. You may set these once and then forget about them.
If, however, you use several brands of compiler you will want to set
the Brand of your Compiler each time you switch.
5. COMPILER SUPPORT
At the moment SUPER MAKE can be configured for two brands of compiler(s):
Microsoft and Borland. When you install using INSTALL.EXE you choose to set
it up for one of these.
You should be aware that SUPER MAKE puts things in a slightly different order
for Microsoft commands than it does for Borland ones. (I'll explain this in
a moment.)
If you use products other than Microsoft and Borland and would like them
supported by SUPER MAKE I'll be happy to write them into the program if
you will send me the following information:
1. The format of your compiler's commands
Example from MS C:
cl [flags] [source_file_name.c]
2. The format of your linker's commands
Example from MS LINK:
link [file1.obj file2.obj],[exename.exe],[mapname.map],[lib1 lib2]
Dos your linker use command files? If so give an example of the
format.
Example from MS LINK:
link [flags] @resname.res
Also include an example and explanation of the format of the
response file.
Example from MS LINK:
OBJ1+ Object files to be linked
OBJ2+
EXENAME Name of executable file
MAPNAME Name of Map file
LIB1+ Library names
LIB2
nul.def Definition File Name
3. All the same information for your librarian.
It is important that you send both a description of compiler, linker,
librarian commands AND examples. Also if I get confused I may want
to call or write you, so please include that information as well.
--------
Here is the formatting information for Microsoft and Borland products:
Command line looks like:
cl (L1) sample.c
Commands are built as follows:
Microsoft: cl L1CO L1Mx (L1D or L1ND) L1F1 L1F2 sample.c
Borland: tcc L1CO L1Mx (L1D or L1ND) L1F1 sample.c L1F2
Using the second general commands flags macro at the end allows for
Borland specific command structure.
Microsoft Linker and Librarian always use Response files.
Borland Linker always uses 2 command files. The first (filename.boj) has
the names of the object files to be linked (this is automatically generated
by the SUPER MAKE Editor when set to Borland and generating a make file).
The second is the library command file (generated three times for the
three memory models currently being used, and called filename.lrs,
filename.lrm, or filename.lrl.).
When generating a SUPER MAKE file for Borland products some linker and
librarian commands are appended to the memory model macros in order to
end up with the proper command structure.
6. THE FUTURE
The reason I wrote SUPER MAKE was to make life easier for myself and other
programmers. If there are features you would like in SUPER MAKE please
don't hesitate to contact me. Please don't be angry at the program for
not doing something you want it to do. Instead let me know what you want
and there is a very good chance it will be included. I try to include as
many users' suggestions into my programs as is reasonable (given the scope
of the program). So please keep those cards and letters coming!
If SUPER MAKE works with your compiler that is not listed in this file
please let me hear from you. I would be grateful for language definition
files for your compiler. If you send them (and they are not duplicates
of others sent) I will include them in a future release of the product with
appropriate credit to you.
7. PRODUCT SUPPORT
EmmaSoft does NOT support third party products. For example, we don't
give technical support for Microsoft C. We do support our own products,
and make every effort to make them happy, bug free programs. We test our
software rigorously before releasing it. SUPER MAKE has been used in it's
own development since there's been enough of it to work properly. Every
once in a while one of those pesky insects does get into a program, and
bug reports are greatly appreciated from all users.
Technical support is ONLY available to REGISTERED users with a valid
serial number (when you register you are sent the latest copy of SUPER
MAKE with printed documentation, a valid serial number, and WITHOUT the
shareware reminder messages that are built in to the unregistered version).
EmmaSoft is open 9 to noon, 1-5, M-F (and sometimes on Saturdays). The
address is: EmmaSoft PO Box 238 Lansing, NY 14882-0238.
The phone is (607) 533-4685.
My CompuServe number is 71460,2644.
If you call and get the answering machine please leave a message. If you
want me to call you back please leave a number where I can call collect,
and some good times to reach you.
8. PRINTING UTILITIES
Two little printing utilities for the HP Laserjet have been included. They
are S.COM and SL.COM. They both print a file in small letters in Landscape
orientation. I use them a lot to print out source code (that is wider
than 80 characters).
See appendix D in the manual (you'll need to print it out to get this) for
instructions.
9. THE SAMPLE FILES
Included with this package is a set of sample files for C and assembly
language programmers to experiment with. These consist of:
SAMPLE.C C Code
SAMPLE1.C C Code
SAMPLEA.ASM Assembly Code
SAMPLEA.OBJ Object made from SAMPLEA.ASM for C Programmers without
an Assembler
SAMPLE.EXE An executable version.
Users of other languages can easily write a few small files of sample code to
experiment with.
SAMPLE.EXE is a multi moduled program using C and Assembly language. It
contains 5 functions: 2 in each C module, and one in the assembler module.
To call it you type SAMPLE and two numbers (ex: SAMPLE 5 67). It will
add the numbers and report on whether it is exiting properly or with
an error condition.
SAMPLEA.OBJ is provided for C programmers who do not have an assembler. If
you simply don't want to mess around with the assembly language module you
may deal with it in one of two ways, by slightly changing the code in
SAMPLE.C.
Method one: Define a macro as follows:
#define smplad(a,b) ((a),(b))
Method two: Replace the call to smplad (in the printf statement where it
says printf("\n%d + %d = %d",a,b,smplad(a,b));) with (a+b) (so you will
end up with printf("\n%d + %d = %d",a,b,(a+b);).
In either case delete the function declaration for smplad().
To get started, call the SUPER MAKE Editor (SME).
In the Setup Menu (alt-s) set SME to make SUPER MAKE files and Linker
Response files (See Chapter 5 of the manual for Setup Instructions).
Press Esc to get the main menu, then go into the Make menu (alt-m).
Type alt-p (Pick Code Files)
Using your mouse or the arrow keys pick the drive and directory the sample
source code files are on, and mark (+) the three files.
Type Esc to back out of the Drive/Directory/Files windows.
When the three file names are displayed highlight SAMPLE.C and press Esc.
Check that your macros are set the way you want them (alt-m).
Now make the files (alt-s).
If your SUPER MAKE files have been successfully generated you are ready to
try the maker. Press alt-q to quit SME.
To build the file type: SM -1 sample <Enter>
(You use the small memory model because the assembly module is written in
the small model).
Feel free to experiment. In Setup in the SME you can set the drive and
directory you want your object and/or executable files in. Try different
settings here, and see how SUPER MAKE handles your files.
You may call SUPER MAKE from any directory, provided you give it the full
path of the make file. For example: SM C:\CODE\SAMPLE <Enter>
10. A NOTE ON BUILDING LIBRARIES
Because SUPER MAKE depends on response (command) files you may find building
libraries minorly awkward using the Microsoft librarian. What you need to do
is to build the library using the name you have chosen. For each memory
model you build RENAME the final library. For example if you are building
three versions of the MYLIB library you build it once for each memory model:
sm -1 MYLIB
then rename the library for that model:
ren MYLIB.LIB SMYLIB.LIB
Next type sm -e to erase the small model object files.
Now rebuild for the medium model: sm -2 MYLIB
and rename the final file: ren MYLIB.LIB MMYLIB.LIB
and so on.