home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / gcc / make-gcc.com < prev    next >
Text File  |  1994-12-06  |  1KB  |  33 lines

  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. $!
  9. $! First, build the preprocessor.
  10. $!
  11. $ @make-cccp
  12. $!
  13. $! To build the GNU C++ compiler in addition to the GNU CC compiler, comment
  14. $! out the `@make-cc1' line, and uncomment the `@make-cc1 cc1 cc1plus' line.
  15. $! To also build Objective-C, add "cc1obj" to the list.
  16. $!
  17. $! See the file make-cc1.com for a complete list of options.
  18. $!
  19. $ @make-cc1
  20. $! @make-cc1 cc1 cc1plus
  21. $!
  22. $!
  23. $! Now build the library routines that are required.  These will be placed in
  24. $! libgcc2.olb.  To install, extract all of the modules from libgcc2.olb and
  25. $! add them to gnu_cc:[000000]gcclib.olb.  You may have to delete the eprintf
  26. $! and new modules from the gnu_cc:[000000]gcclib.olb, since libgcc2 supplies
  27. $! these same routines with different module names.
  28. $!
  29. $! Now build gcclib2.olb
  30. $!
  31. $ @make-l2
  32. $!
  33.