]>
Commit | Line | Data |
---|---|---|
bac41a7b A |
1 | MacOS X Porting notes |
2 | 20 June 2001 dmitch | |
3 | ||
4 | -- snacc.pbproj contains the following targets: | |
5 | ||
6 | world: aggregate target, builds UnixBuild and snaccRuntime | |
7 | ||
8 | UnixBuild: Legacy target, invokes MacOSX-Install, a custom | |
9 | script to config and build the snacc compiler and the | |
10 | Unix versions of the various libraries. This does not install | |
11 | the snacc binary; maybe it should. | |
12 | ||
13 | Due to many brain dead Makefiles, this target always rebuilds | |
14 | a ton of stuff even if nothing has changed. Feel free to rewrite | |
15 | all the Makefiles to fix this. | |
16 | ||
17 | snaccRuntime: builds the runtime support library as an OSX | |
18 | framework using the same source as c++-lib. Currently | |
19 | obsolete; this is now part of Security.framework. | |
20 | ||
21 | -- There are a few header files which have duplicate copies | |
22 | in the snacc-1.3vda root directory and in c++-lib/inc. They're | |
23 | needed in the root by the compiler build and various configure | |
24 | operations, and neneded in c++lib for the framework built | |
25 | there (snaccRuntime.framework). The headers are needed by | |
26 | other headers installed in that framework. A non-trivial | |
27 | amount of Makefile and configure.in hacking could eliminate | |
28 | the need for maintaining duplicate copies of these files. | |
29 | Be my guest. One header, config.h, is generated at configure | |
30 | time and is subsequently copied into the c++-lib/inc directory | |
31 | by the MacOSX-Install script. The other headers are policy.h | |
32 | and snacc.h, which change rarely. | |
33 | ||
34 | -- The following examples are skipped during the build all. | |
35 | ||
36 | c++-examples.simple - runtime failure | |
37 | c-examples/snmp - runtime failure | |
38 | tbl-example - runtime failure | |
39 | tcl-example - build failure | |
40 | ||
41 | -- When running the snacc compiler to generate C++ source, you | |
42 | must specify the (undocumented) -D argument to enable VDADER_RULES. | |
43 | When compiling that source, you must do a -DVDADER_RULES. | |
44 |