1 bob 1.3 03/05/2001
|
2 bob 1.1
3 The mof compiler is a long ways from done, but it does
4 build and populate a repository.
5
6 Build instructions
7
8 cd Pegasus/getoopt
9 make
10 cd ../Common
11 make
12 cd ../Repository
13 make
14 cd ../Compiler
15 make
16 cd cmdline
17 make
18
19 It will be integrated in Mike's make system shortly.
20 It should build on NT with MSVC++ version 6 (I haven't tried version 5)
21 and on Linux with gcc 2.95. On my machines, it successfully compiles
|
22 bob 1.2 CIM_Schema25.mof in about 50 seconds on NT and about 15 on Linux.
|
23 bob 1.1
24 Partial list of to-do's:
25 - Add command line arguments to control over-laying of existing objects,
26 stopping the addition of new base classes and several other things.
|
27 bob 1.3 - Make the command line driver turn off logging in the embeddable
28 compiler code. Right now, errors print out twice.
|
29 bob 1.2 - Handle a few errors that are ignored now.
|
30 bob 1.1 - bunch of other cleanup
31
32 Here are two gotcha's in trying to get things running:
33 1. Make sure you set the PEGASUS_HOME command line variable.
34 The repository gets written to $PEGASUS_HOME/repository.
35 You can override this with the -R flag on the command line.
36
37 2. If your mof file has include pragmas and the included files
38 do not reside in the current directory, you must provide a path
39 to them on the compiler command line. You do this with the
40 -I flag. Example:
41
42 cimmof -I~/testfiles ~/testfiles/main.mof
43
44 The compiler does not handle missing include files very sanely
45 right now. It just skips them.
|