1man(1) 4glpc man page man(1)
2
3
4
6 4glpc - Aubit 4GL compiler
7
9 4glpc sourcefile.type [...] [options] executablename.4ge
10 4glpc sourcefile.4gl -c -o objectname.o
11 4glpc sourcefile.4gl -o executablename.4ge
12
14 The 4glpc compiler is really just a wrapper around the 4glc, gcc, and
15 esql/c compilers. The idea is that the type of each file passed on the
16 command line is determined, as well as the output object type, and the
17 relevant compilers are called in stages to generate that output. For
18 example:
19
20 4glpc myprog.4gl -o myprog.4ge
21
23 -L
24 Passed directly to the C compiler (specifies where libraries
25 will be found)
26
27 -o
28 Specify the output file
29
30 -c
31 Compile only - no linking
32
33 -e
34 Just generate the .c file
35
36 -I
37 Passed directly to the C compiler (specifies where include
38 files can be found)
39
40 -G, --globals
41 Generate the globals map file
42
43 -S, --silent
44 No output other then errors
45
46 -V, --verbose
47 Verbose output (-V1.. -V5 for increasing levels of verbosity)
48
49 -N name, --namespace name
50 Prefix all functions with name (default aclfgl_)
51
52 -n, --noprefix
53 Remove any prefix from function names (= -N '')
54
55 -v, --version
56 Show compiler version and exit
57
58 -f, --version_full
59 Show full compiler version and details
60
61 -h, -?, --help
62 Show this help and exit
63
64 -t TYPE, --lextype TYPE
65 Output language, TYPE=C(default), EC, or PERL
66
67 -td TYPE, --lexdialect TYPE
68 Specify the output language dialect for ESQL/C generation
69 (INFORMIX or POSTGRES)
70
71 -k, --keep
72 Keep intermediate files (default)
73
74 -K, --clean
75 Clean intermediate files when done
76
77 -s[01], --stack_trace [01]
78 Include the stack trace in file:
79 0-Don't generate 1-Generate(Default)
80
81 --use-shared
82 Compile with shared libraries
83
84 --use-static
85 Compile with static libraries
86
87 -echo
88 Don't really compile (ignored for now)
89
90 -d dbname, --database dbname
91 Specify an alternative database name to use for compilation
92 (note ignores that specified in the .4gl)
93
94 -4, --system4gl
95 Used internally - Ignores any clashes with builtin
96 library names
97
98 --map
99 Generate an unload file with some 4GL code metrics
100
101 --as-dll
102 Generate a shared library as the output type
103
104 --make-compile
105 Compare file times and only recompile where required
106 (very simplistic)
107
109 http://aubit.com/aubit4gl/manuals/aubman.pdf
110 http://aubit.com/aubit4gl/manuals/aubitqref.pdf
111
112
113
114
1151.0 17 Aug 2022 man(1)