#include <sys/types.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <fstream>
#include "util.h"
#include <absolute.h>
#include "pearllib.h"
#include <BasicUtils/BasicProcess.h>
#include <BasicUtils/BasicArray.h>
#include <BasicUtils/BasicException.h>
#include <BasicUtils/BasicDebugger.h>
#include <iostream>
Include dependency graph for makepearl.cpp:
Classes | |
struct | uselistx |
Defines | |
#define | SOLARIS |
#define | C_COMPILER "cc" |
#define | PEARL_COMPILER "ymlpearlc" |
#define | MAXCLIBS 32 |
#define | MAXLDIRS 32 |
Functions | |
FILE * | popen () |
char * | alstrcpy (char *s1) |
void | panic (char *s) |
void | addusefile (char *file) |
void | newfile (char *file) |
int | fileoutdated (char *filename, char *suf1, char *suf2) |
int | parseusefile (char *filename) |
char * | nextfiletobeused () |
void | findoutdated () |
char * | tobecompiled () |
int | doexec (int argc, char *argv[]) |
char * | addLibs (int &argc, char *argv[]) |
int | compile (char *filename, char *defines) |
void | dolink (char *filename, int ldargc, char *ldargv[]) |
void | mainout (char *s) |
void | makemain (char *filename) |
int | main (int argc, char *argv[]) |
Variables | |
int | nerr |
bool | dolinkflag = TRUE |
bool | boundcheck = FALSE |
bool | coredump = FALSE |
bool | debugger = FALSE |
bool | dontlink = FALSE |
bool | dryrun = FALSE |
bool | force = FALSE |
bool | mulgaflag = FALSE |
bool | profiler = FALSE |
bool | verbose = FALSE |
bool | notriv = 1 |
char * | optimize = "-O1" |
FILE ** | fp_spec |
FILE * | fp_impl |
char | file_spec [MAXPATHLEN] |
char | file_impl [MAXPATHLEN] |
int | copts = 0 |
char * | copt [MAXCLIBS] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|