Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (c) 1990 S.Hawtin.
- Permission is granted to copy this file provided that:
- 1) It is not used for commercial gain
- 2) This notice is included in all copies
- 3) Altered copies are marked as such.
- No liability is accepted for the contents of the file.
- NorthC.doc within NorthC
- NorthC
- NorthC [-Ddefine][-Uundef][-Iinclude][-P][-C]
- [-Ooutput][-V][source]
- The "NorthC" command compiles a 'C' program into code that the "A68K"
- assembler can deal with. The program accepts the following options,
- -D<define>
- If <define> is of the form "FOO=56" then the compiler will define a
- preprocessor macro "FOO" with the value 56. If the <define> is of the
- form "FOO" then the "FOO" macro will be defined as 1.
- -U<undef>
- This will undefine a previously defined preprocessor macro.
- -I<include>
- This will make the compiler look in the <include> directory for any
- include files it cannot find in the local directory.
- -P
- This will turn on profiling, this causes the compiler to insert some
- code at the start of each routine to count the number of times the
- routine is called. This is untested.
- -C
- This causes all static data and variables to be loaded into chip memory
- when the program is run.
- -O<output>
- Normally the program works out the output file name from the input file
- name, this option overides the default causing the output file to be
- created as <output>.
- -V
- Print out some information about the origins of the compiler, the date this
- version was compiled and so on.
- [source]
- The source file name.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement