#include "occCommon.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include "token.h"
#include "buffer.h"
#include "parse.h"
#include "walker.h"
#include "classwalk.h"
#include "ptree-core.h"
#include "mop.h"
#include <unistd.h>
Include dependency graph for driver.cpp:
Functions | |
bool | ParseTargetSpecificOptions (char *arg, char *&source_file) |
void | RunLinker () |
char * | RunPreprocessor (const char *src) |
char * | OpenCxxOutputFileName (const char *src) |
void | RunCompiler (const char *src, const char *occserc) |
void | LoadMetaclass (char *) |
void | Compile (int argc, char **argv) |
void | ParseCmdOptions (int from, int argc, char **argv, char *&source_file) |
void | AddCppOption (const char *arg) |
void | AddCcOption (const char *arg) |
void | AddCc2Option (const char *arg) |
void | CloseCcOptions () |
bool | IsCxxSource (char *fname) |
void | ShowCommandLine (const char *cmd, const char **args) |
void | SetTargetDirectory (const char *) |
void | ReadStdin () |
void | ReadFile (const char *src) |
char * | RunOpencxx (const char *src) |
int | ParseOpencxx (Program *parse) |
char * | ParseOptions (int argc, char **argv) |
void | ShowVersion () |
void | ShowHelp (char **) |
void | RecordCmdOption (char *option) |
void | ParseCcOptions (char *arg, char *&source_file) |
Variables | |
BEGIN_OPENCXX_NAMESPACE char | thisVersion [] = "2.6.t.0" |
char | copyingNote [] |
const char * | compilerName |
bool | showProgram |
bool | doCompile |
bool | makeExecutable |
bool | doPreprocess |
bool | doTranslate |
bool | verboseMode |
bool | regularCpp |
bool | makeSharedLibrary |
char * | sharedLibraryName |
bool | preprocessTwice |
const int | NARGS = 64 |
const char * | cppArgv [NARGS] |
const char * | ccArgv [NARGS] |
const char * | cc2Argv [NARGS] |
int | cppArgc = 0 |
int | ccArgc = 0 |
int | cc2Argc = 0 |
int | numOfObjectFiles = 0 |
|
|
|
|
|
Runs preprocessor (g++ / cpre) on
|
|
|
|
Runs compiler (g++) on Sends the compiler the parameters specified when executing IOPC SP / OpenC++ (only the "compiler" options). Adds to them some parameters specified by IOPC SP / OpenC++ options, if called from IOPC SP adds some parameters needed for translated source to compile (two bytes wchar_t support).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sets path (targetDir) into which files generated by IOPC SP / OpenC++ should be placed. Sets drive and directory (targetDrive, targetDir) into which files generated by IOPC SP / OpenC++ should be placed. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: "Copyright (c) 1997-2001 Shigeru Chiba. All Rights Reserved.\n" "Copyright (c) 1995, 1996 Xerox Corporation. All Rights Reserved.\n" "Copyright (c) 2002 Other Developers.\n" "Copyright (c) 2003-2004 Josef Troch." |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|