Commit | Line | Data |
---|---|---|
9ea92310 C |
1 | $! |
2 | $! Build GCC | |
3 | $! | |
4 | $! Set the def dir to proper place for use in batch. Works for interactive too. | |
5 | $flnm = f$enviroment("PROCEDURE") ! get current procedure name | |
6 | $set default 'f$parse(flnm,,,"DEVICE")''f$parse(flnm,,,"DIRECTORY")' | |
7 | $! | |
8 | $set symbol/scope=(nolocal,noglobal) | |
9 | $! | |
10 | $! First, build the preprocessor. | |
11 | $! | |
12 | $ @make-cccp | |
13 | $! | |
14 | $! To build the GNU C++ compiler in addition to the GNU CC compiler, comment | |
15 | $! out the `@make-cc1' line, and uncomment the `@make-cc1 cc1 cc1plus' line. | |
16 | $! To also build Objective-C, add "cc1obj" to the list. | |
17 | $! | |
18 | $! See the file make-cc1.com for a complete list of options. | |
19 | $! | |
20 | $ @make-cc1 | |
21 | $! @make-cc1 cc1 cc1plus | |
22 | $! | |
23 | $! | |
24 | $! Now build the library routines that are required. These will be placed in | |
25 | $! libgcc2.olb. To install, extract all of the modules from libgcc2.olb and | |
26 | $! add them to gnu_cc:[000000]gcclib.olb. You may have to delete the eprintf | |
27 | $! and new modules from the gnu_cc:[000000]gcclib.olb, since libgcc2 supplies | |
28 | $! these same routines with different module names. | |
29 | $! | |
30 | $! Now build gcclib2.olb | |
31 | $! | |
32 | $ @make-l2 | |
33 | $! |