static void printUsage( int msg ) { int i; static const char * const banner[]={ banner1w( "Multi-processor Disassembler", _WDISASM_VERSION_ ), banner2( "1995" ), banner3, banner3a, NULL }; const char * const *text; ChangePrintDest( STDERR_FILENO ); if( msg != 0 ) { BufferMsg( msg ); BufferConcatNL(); BufferConcatNL(); BufferPrint(); } text = banner; while( *text ) { Print( (char *)*text++ ); Print( "\n" ); } for( i = USAGE_1; i <= USAGE_LAST; i++ ) { BufferMsg( i ); BufferConcatNL(); BufferPrint(); } if( ObjFileName != NULL ) { MemFree( ObjFileName ); } MemClose(); exit( 1 ); }
void print_banner( void ) { puts( banner1w( "Script/GML Binary File Type Check Program", \ _RESEARCH_VERSION_ ) ); puts( banner2( "1983" ) ); puts( banner3 ); puts( banner3a ); }
STATIC void header( void ) { if( headerDone ) return; headerDone = 1; if( cmdLine.quiet ) return; PrtFmt( banner1w( "Object Module Processor", _WOMP_VERSION_ ) "\n" banner2( "1990" ) "\n" banner3 "\n" banner3a "\n" ); }
void print_banner( void ) /***********************/ { static int done; if( done ) return; puts( banner1w( _NAME_ "Compile and Link Utility", _WCL_VERSION_ ) ); puts( banner2( "1988" ) ); puts( banner3 ); puts( banner3a ); done = 1; }
/* * Print the copyright banner. */ void BannerMessage( void ) /************************/ { static int alreadyPrinted; static char * helpMsg = { banner1w( "C/C++ ASAXP Clone for " CPU_NAME " ", _ASAXP_CLONE_VERSION_ ) "\n" banner2( "1995" ) "\n" banner3 "\n" banner3a "\n" }; if( !alreadyPrinted && !quietMode ) { printf( helpMsg ); alreadyPrinted = 1; } }
/* * Print the copyright banner. */ void BannerMessage( void ) /************************/ { static int alreadyPrinted; static char * helpMsg = { banner1w( "C/C++ LINK Clone for " CPU_NAME " ", _LINK_CLONE_VERSION_ ) "\n" banner2( "1995" ) "\n" banner3 "\n" banner3a "\n" "Compatible with LINK Version " _MS_LINK_VERSION_ "\n" }; if( !alreadyPrinted && !quietMode ) { printf( helpMsg ); alreadyPrinted = 1; } }
if( Commands[ MAP_SLOT ] != NULL ) { PrefixWrite( Commands[ MAP_SLOT ], "option map=", 11 ); MapOption = FALSE; // make sure it isn't generated a second time. } PrefixWrite( Commands[ LIBRARY_SLOT ], "library ", 8 ); if( MapOption ) { CommandOut( "option map" ); } ListWrite( Commands[ OPTION_SLOT ] ); } #define NL "\r\n" static char TheHelp[] = { banner1( "Microsoft to Watcom linker command translation utility ", _MS2WLINK_VERSION_ ) NL banner2( "1990" ) NL banner3 NL "usage: pass this program the same arguments that would be passed to the" NL " Microsoft linker, and an equivalent set of wlink commands" NL " will be written to standard output." NL NL "Usage:" NL NL "ms2wlink" NL "ms2wlink @<response file>" NL "ms2wlink <objs>,<exefile>,<mapfile>,<libs>,<deffile>" NL NL "Recognized options are:" NL }; extern void WriteHelp( void )