Betascript Publishing CRiSP File Editor 6 Manual de usuario Pagina 15

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 92
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 14
Page 15
ready for loading into CRiSP. The crunch program uses its own internal preprocessor which is very ANSI-C
like. By doing this gives the user more portability of macros and avoids common differences between
standard preprocessors.
Next the intermediate file is converted directly to the binary output file. Crunch has a number of switches:
-c Compiles the source file to a .m file. This is useful for understanding the translation process
or to check for bugs in the compiler. If you have any problems understanding what crunch is
doing, then use this switch.
-Dvar Used to #define constants before preprocessing. This switch is passed directly to the
preprocessor.
-f Used to flush output during debugging. Causes the output to be written to the terminal. This
is useful if crunch core-dumps and you want to try and ascertain at what point during code
generation the problem is occurring.
-Ipath Add a path to search for include files. This switch is passed directly to the preprocessor.
-g Used to insert debugging information into the compiled code. This includes line number
information, so that when a macro error occurs, CRiSP can report the line in error.
-m This is the make flag. Tests the modification time of the output file versus the source file and
only recompiles if it is necessary. This allows trivial makefiles to be built rather than having to
face the bugs in standard make. (See the distribution makefile how to use this).
For example, you can say:
crunch -m -o /macrodir *.cr
and only the out of date macro files will be recompiled. (No account is made of dependencies
on include files).
-n Print out the names of files which would be compiled, but don't compile them. This flag is
useful with the '-m' (make) flag to verify what files will be recompiled.
-o file Specifies the name of the output file to create. The file parameter can be the name of a
directory in which case the output file is put into the specified directory.
-p cpp Used to specify the path of the C preprocessor to execute if the one on your system does not
conform to the standard used by the current Unix versions, e.g. if you are using Turbo C, or
you have a POSIX compliant C compiler.
-q If more than one source file is specified on the command line, crunch normally prints the
name of each file as it is being compiled. This switch can be used to turn off this feature.
-S Special non supported feature. Used to dump a symbol table.
-Uvar Make the named variable undefined. Passed directly to the C pre-processor.
-V Prints version number of compiler.
-# Prints each pass of the compilation process as it proceeds.
The crunch compiler more or less understands the full ANSI C syntax, including structure definitions, bit
fields and typedefs. However, crunch is really only designed to accept macros which can be used by CRiSP.
At present CRiSP cannot handle structure and typedef definitions and so it is best to avoid these.
The crunch compiler normally creates a temporary intermediate file between the pre-processing stage and
the compilation phase. Normally this file is created in /tmp. You can override this by specifying the name of a
directory in either the CRTMP or TMP environment variable. (CRTMP will take precedence if both are
specified).
{button See Also, ALink(crunch,,,)}
Data types
CRiSP supports a range of primitive data types and complex objects. The following is a summary of the
basic data types:
Type Description
Vista de pagina 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 91 92

Comentarios a estos manuales

Sin comentarios

Car speakers manuals

Choose your Car speakers brand for download user manuals and guides

List of brands for manuals category Car speakers
Brands Top models
Sony                               XS-V1650G CDX-GS500R CDX-F5000C XAV-A1 Other categories
JVC                               CS-HX6845 CS-WD85 GET0260-003B CS-V4624 Other categories
Pioneer                               AVIC-X920BT TS-H1702 TS-WX205 FH-P8000BT Other categories
Kenwood                               DPX-3050 DPX404U KFC-HQ130 DEM-999D Other categories
JL Audio                               STEALTHBOX SB-F-TRKEXT/8W1 C2-525x Stealthbox SB-B-5SER/12W6v2 C3-570 Other categories
MB QUART                               RUA 216 Rua210 DKG 113 NLP254S Other categories
Panasonic                               CQ-C500U CQ-RG131U CQ-DF501 CQC5303N Other categories
Blaupunkt                               Acapulco MP54 US SYDNEY RCM 128 GTc 662 Mk II DM2000 Other categories
Alpine                               SPR-60 CDA-9856 SWD-2000 SPS-110TW Other categories
Kicker                               2011 KMT60 2011 KS Components KS350 2013 CS Coaxial Speakers Other categories
Audiovox                               P-94 US254 Prestige P950WESP HR7DDPKG Other categories
JBL                               GTO10200 GTO302 Vertec Series VT4880 GT7-5 Other categories
Clarion                               DXZ865MP DXZ758RMC DXZ768RMP bd239rg Other categories
Hyundai                               H-CSE694 H-CSA503 H-CST10A H-CSB603 Other categories
Philips                               21PT9457 CSP1000/55 FLAT TV 32PFL7603S/60 BDP7100/12 Other categories
Rockford Fosgate                               RFA-414 FNP2614U HPC2246 RFP-1415/1815 Other categories
Prology                               AT-1200 Club Silver CS-5.2C Neo-10 TX-6923 Other categories
Metra Electronics                               AW-560FD 99-8711 70-5512 99-8223S Other categories
Polk Audio                               GNX104-4 SR65006 EX3 Series DX3055 Other categories
Jensen                               MCD5112 VM9512 Mobile Multimedia AM/FM/DVD Receiver VM9510 PowerPlus 525 Other categories