

            p4cl (3) --- compile and load Pascal 4 program           08/24/84


          | _U_s_a_g_e

                 p4cl <source> <ld arguments>


            _D_e_s_c_r_i_p_t_i_o_n

                 'P4cl'  is  a  shell  program  that  invokes  the  necessary
                 sequence of commands to convert a Pascal source file into an
                 executable program.  The first argument, <source>  specifies
                 the  file  that will contain the final executable version of
                 the program.  The Pascal source code is assumed to be in the
          |      file  named  <source>.p.   If  'p4cl'  is  invoked  with  no
          |      <source>  argument,  it  automatically  processes  the  last
          |      program edited, since it shares the shell variable 'f'  with
          |      the  shell  program 'e'.  Any further arguments appearing on
                 the command line are passed directly on to the loader, 'ld'.

                 The Pascal compiler, 'p4c', is first invoked to convert  the
                 contents  of  the  source  file  into  an equivalent Fortran
                 program and write it into the file named <source>.f.  A com-
                 pilation listing is also generated on the  file  <source>.l.
                 (This  listing contains Fortran forms control characters and
                 may be printed with 'sp' using the "-f" option.)

                 The Fortran compiler is then invoked, using 'fc', to produce
                 a binary relocatable version of  the  program  in  the  file
                 <source>.b, which is then prepared for execution by 'ld'.


            _E_x_a_m_p_l_e_s

                 p4cl copy
                 p4cl xref -t -m xref.m


            _B_u_g_s

                 Locally supported.


            _S_e_e _A_l_s_o

                 p4c (3), fc (1), ld (1)














            p4cl (3)                      - 1 -                      p4cl (3)


