Changeset 00cbc79


Ignore:
Timestamp:
09/23/2021 07:50:09 PM (4 weeks ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
lazarus
Children:
d09f950
Parents:
904df6e
Message:

Add lazarus

Location:
general/prog
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • general/prog/fpc.xml

    r904df6e r00cbc79  
    4949  </indexterm>
    5050
    51 
    52   <sect2>
    53     <title>About FreePascal</title>
     51  <sect2 id="fpc-bin" xreflabel="FPC Binary" role="package">
     52    <title>Binary FreePascal Information</title>
     53
    5454    <para>
    5555      FreePascal is a compiler software used to translate Pascal
     
    7171      was introduced by Borland somewhere back in the MS-DOS age
    7272      together with <application>Turbo Pascal 6.0</application>
    73       - that was in Nov. 1990.
    74     </para>
    75 
    76     <para>
    77       blah...
    78     </para>
    79 
    80   </sect2>
    81 
    82   <sect2 id="fpc-bin" xreflabel="FPC Binary" role="package">
    83     <title>Binary FreePascal Information</title>
     73      - that was in Nov. 1990. This toolbox is available for own
     74      programs, too.
     75    </para>
    8476
    8577    <para>
     
    9284    <para>
    9385      To start, we set up a binary installation of <application>FreePascal</application>
    94       created by the FreePascal development team. It is installed in the <filename>/opt</filename>
    95       directory to be easily removed after the source based version
    96       has been installed.
     86      created by the FreePascal development team. It is installed in
     87      the <filename>/opt</filename> directory. Using this temporary
     88      compiler installation, the compiler can be created from source.
     89      After this step is done, the temporary compiler can be easily
     90      removed.
    9791    </para>
    9892
     
    302296<screen role="root"><userinput>sed -e "/^-Fl\/usr\/lib\/fpc/a -Fl/opt/qt5/lib" \
    303297    -i /etc/fpc.cfg</userinput></screen>
     298
     299    <para>
     300      It is highly recommended that the compiler sources are available
     301      for later use. To extract the sources at a proper location,
     302      execute the following command as the
     303      <systemitem class="username">root</systemitem> user:
     304    </para>
     305
     306<!--
     307  not sure if we can simply copy the files in $PWD as they may
     308  contain compiled binaries
     309 -->
     310<screen role="root"><userinput>mkdir -p /usr/lib/fpc/src &amp;&amp;
     311tar --strip-components=1 -C /usr/lib/fpc/src -xf ../fpc-&freepascal-version;.source.tar.gz</userinput></screen>
    304312
    305313  </sect2>
  • general/prog/prog.xml

    r904df6e r00cbc79  
    7171  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="fpc.xml"/>
    7272  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qt5pas.xml"/>
     73  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lazarus.xml"/>
    7374
    7475</chapter>
Note: See TracChangeset for help on using the changeset viewer.