MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "compare": {
        "fromrevid": 1,
        "torevid": 2,
        "*": "<tr><td colspan=\"2\" class=\"diff-lineno\" id=\"mw-diff-left-l1\" >Line 1:</td>\n<td colspan=\"2\" class=\"diff-lineno\">Line 1:</td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">&lt;strong&gt;MediaWiki has been successfully installed</del>.<del class=\"diffchange diffchange-inline\">&lt;/strong&gt;</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">Steps for building the RL78 Toolchain under Ubuntu 14</ins>.<ins class=\"diffchange diffchange-inline\">04:</ins></div></td></tr>\n<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">Consult </del>the <del class=\"diffchange diffchange-inline\">[//meta.wikimedia.org/wiki/Help</del>:<del class=\"diffchange diffchange-inline\">Contents User's Guide] </del>for <del class=\"diffchange diffchange-inline\">information on using </del>the <del class=\"diffchange diffchange-inline\">wiki software.</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">* Run </ins>the <ins class=\"diffchange diffchange-inline\">followings commands before you start</ins>:</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> sudo apt-get install build-essential</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> sudo apt-get update</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> sudo apt-get upgrade</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> sudo apt-get install flex bison texinfo libncurses5-dev</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">1) Create a new folder </ins>for the <ins class=\"diffchange diffchange-inline\">toolchain</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> $ mkdir RL78-Toolchain</ins></div></td></tr>\n<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div>== <del class=\"diffchange diffchange-inline\">Getting started </del>==</div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">2) Change the current directory to RL78-Toolchain</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">* [</del>//<del class=\"diffchange diffchange-inline\">www</del>.<del class=\"diffchange diffchange-inline\">mediawiki</del>.<del class=\"diffchange diffchange-inline\">org</del>/<del class=\"diffchange diffchange-inline\">wiki</del>/<del class=\"diffchange diffchange-inline\">Special:MyLanguage</del>/<del class=\"diffchange diffchange-inline\">Manual</del>:<del class=\"diffchange diffchange-inline\">Configuration_settings Configuration settings list]</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> $ cd RL78-Toolchain</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">* [</del>//<del class=\"diffchange diffchange-inline\">www</del>.<del class=\"diffchange diffchange-inline\">mediawiki</del>.<del class=\"diffchange diffchange-inline\">org</del>/<del class=\"diffchange diffchange-inline\">wiki</del>/<del class=\"diffchange diffchange-inline\">Special</del>:<del class=\"diffchange diffchange-inline\">MyLanguage</del>/<del class=\"diffchange diffchange-inline\">Manual</del>:<del class=\"diffchange diffchange-inline\">FAQ MediaWiki FAQ]</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div>* <del class=\"diffchange diffchange-inline\">[</del>https://<del class=\"diffchange diffchange-inline\">lists</del>.<del class=\"diffchange diffchange-inline\">wikimedia</del>.org/<del class=\"diffchange diffchange-inline\">mailman</del>/<del class=\"diffchange diffchange-inline\">listinfo</del>/<del class=\"diffchange diffchange-inline\">mediawiki</del>-<del class=\"diffchange diffchange-inline\">announce MediaWiki release mailing list]</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">3) Create 3 new folders : source, build, prefix</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">* [</del>//www.<del class=\"diffchange diffchange-inline\">mediawiki</del>.org/<del class=\"diffchange diffchange-inline\">wiki</del>/<del class=\"diffchange diffchange-inline\">Special</del>:<del class=\"diffchange diffchange-inline\">MyLanguage</del>/<del class=\"diffchange diffchange-inline\">Localisation#Translation_resources Localise MediaWiki </del>for your <del class=\"diffchange diffchange-inline\">language]</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> $ mkdir source</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> $ mkdir build</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> $ mkdir prefix</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">4) Download the source codes for Binutils-RL78_V15.02, Newlib-RL78_V15.02, GCC-RL78_V15.02, GDB-RL78_V15.01 from :</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">-GDB:&#160; http://kpitgnutools.com/utilities/files/uploads/gdb-7.8.2_rl78_v15.01.tar.bz2</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">-Binutils: http://kpitgnutools.com/utilities/files/uploads/binutils-2.24-20150423_rl78_v15.02.tar.bz2</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">-Newlib: http://kpitgnutools.com/utilities/files/uploads/newlib-2.1.0-20150423_rl78_v15.02.tar.bz2</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">-GCC: http://kpitgnutools.com/utilities/files/uploads/gcc-4.9.2-20150423_rl78_v15.02.tar.bz2</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">5) Copy the archive in the source folder that you previously created:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> $ cp /home/username/Downloads/gdb-7.8.2_rl78_v15.01.tar.bz2 source</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> $ cp /home/username/Downloads/binutils-2.24-20150423_rl78_v15.02.tar.bz2 source</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> $ cp /home/username/Downloads/newlib-2.1.0-20150423_rl78_v15.02.tar.bz2 source</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> $ cp /home/username/Downloads/gcc-4.9.2-20150423_rl78_v15.02.tar.bz2 source</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*Assuming that Downloads is you default download folder.If not you have to put the path to the location where the files were downloaded.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">6) Change the current directory and extract the archives:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> $ cd source</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> $ tar -jxvf gdb-7.8.2_rl78_v15.01.tar.bz2</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> $ tar -jxvf binutils-2.24-20150423_rl78_v15.02.tar.bz2</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> $ tar -jxvf newlib-2.1.0-20150423_rl78_v15.02.tar.bz2</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> $ tar -jxvf gcc-4.9.2-20150423_rl78_v15.02.tar.bz2</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">7) INSTALL GDB-RL78_V15.01</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">a) Change the current directory to build and create a new folder for gdb:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ cd ../build</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ mkdir gdb</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">b) Change the current directory to the gdb folder that you previously created:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ cd gdb</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">c) Build and make:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ /home/username/RL78-Toolchain/source/gdb-7.8.2/configure --target</ins>=<ins class=\"diffchange diffchange-inline\">rl78-elf --prefix</ins>=<ins class=\"diffchange diffchange-inline\">/home/username/RL78-Toolchain/prefix/</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ make</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ make install</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">d) Return to the build directory</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ cd ..</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">8) INSTALL BINUTILS-RL78_V15.02</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">a) Create a new folder for binutils and change the current directory to it:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ mkdir binutils</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ cd binutils</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">b) Build and make:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ /home/username/RL78-Toolchain/source/binutils-2.24-20150423/configure --target</ins>=<ins class=\"diffchange diffchange-inline\">rl78-elf --prefix</ins>=/<ins class=\"diffchange diffchange-inline\">home</ins>/<ins class=\"diffchange diffchange-inline\">username/RL78-Toolchain/prefix/ --enable-maintainer-mode --disable-nls --disable-werror</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ make</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ make install</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">c) Return to the build directory</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ cd </ins>..</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">d) Export path</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ export PATH=&quot;</ins>/<ins class=\"diffchange diffchange-inline\">home</ins>/<ins class=\"diffchange diffchange-inline\">username</ins>/<ins class=\"diffchange diffchange-inline\">RL78-Toolchain/prefix/bin</ins>:<ins class=\"diffchange diffchange-inline\">$PATH&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">9) INSTALL GCC-RL78-V15.02</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">a) Change the current directory to GCC source folder and run the following command :</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160;  $ cd ..</ins>/<ins class=\"diffchange diffchange-inline\">source</ins>/<ins class=\"diffchange diffchange-inline\">gcc-4</ins>.<ins class=\"diffchange diffchange-inline\">9.2-20150423</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160;  $ </ins>./<ins class=\"diffchange diffchange-inline\">contrib</ins>/<ins class=\"diffchange diffchange-inline\">download_prerequisites</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">''OBS</ins>: <ins class=\"diffchange diffchange-inline\">if for some reason MPC,MPFR and GMP is not downloaded automatically when running the command .</ins>/<ins class=\"diffchange diffchange-inline\">contrib/download_prerequisites you have to download them manually and move the packages into GCC source folder.To do that follow&#160;  the steps</ins>:<ins class=\"diffchange diffchange-inline\">''</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>*<ins class=\"diffchange diffchange-inline\">Download the source code for GMP,MPFR,MPC:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>https://<ins class=\"diffchange diffchange-inline\">gmplib</ins>.<ins class=\"diffchange diffchange-inline\">org/download/gmp/gmp-6.1.0.tar.bz2</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">ftp://ftp.gnu</ins>.org/<ins class=\"diffchange diffchange-inline\">gnu</ins>/<ins class=\"diffchange diffchange-inline\">mpc</ins>/<ins class=\"diffchange diffchange-inline\">mpc</ins>-<ins class=\"diffchange diffchange-inline\">1.0.2.tar.gz</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">http:</ins>//www.<ins class=\"diffchange diffchange-inline\">mpfr</ins>.org/<ins class=\"diffchange diffchange-inline\">mpfr-current</ins>/<ins class=\"diffchange diffchange-inline\">mpfr-3.1.3.tar.bz2</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*Copy the packages into GCC source folder</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ cp ~/Downloads/gmp-6.1.0.tar.bz2 ~/gcc/gcc-4.9.2</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ cp ~/Downloads/mpfr-3.1.3.tar.bz2 ~/gcc/gcc-4.9.2</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ cp ~/Downloads/mpc-1.0.2.tar.gz ~/gcc/gcc-4.9.2</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*Extract the packages </ins>:</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ tar -jxvf gmp-6.1.0.tar.bz2</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ tar -jxvf mpfr-3.1.3.tar.bz2</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ tar -zxvf mpc-1.0.2.tar.gz</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*Rename GMP,MPFR,MPC folders</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ mv gmp-6.1.0 gmp</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ mv mpfr-3.1.3 mpfr</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ mv mpc-1.0.2 mpc</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">b) Return to the build directory:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ cd ..</ins>/<ins class=\"diffchange diffchange-inline\">../build</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">c) Create a new folder </ins>for <ins class=\"diffchange diffchange-inline\">gcc and change the current directory to it:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ mkdir gcc</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ cd gcc</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">d) Build and make:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ /home/username/RL78-Toolchain/source/gcc-4.9.2-20150423/configure --target=rl78-elf --prefix=/home/username/RL78-Toolchain/prefix/ --enable-languages=c,c++ --disable-shared --with-newlib --enable-lto --disable-werror</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ make all-gcc</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ make install-gcc</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">e) Return to the build directory</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ cd ..</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">f) Export path</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ export PATH=&quot;/home/username/RL78-Toolchain/prefix/bin:$PATH&quot;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">10) INSTALL Newlib-RL78_V15.02</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">OBS: Build Newlib only after you built Binutils and GCC.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">a) Create a new folder for newlib and change the current directory to it:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ mkdir newlib</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ cd newlib</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">b) Build and make :</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ /home/username/RL78-Toolchain/source/newlib-2.1.0-20150423/configure --target=rl78-elf --prefix=/home/username/RL78-Toolchain/prefix/</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ make</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ make install</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">c) Return to the build directory</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ cd ..</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">11) Build final GCC</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">a) Change the current directory to gcc:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ cd gcc</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">b) Build :</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ sudo make</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; $ sudo make install</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">OBSERVATIONS:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*/home/username/gcc/gcc-4.9.2 is the path to </ins>your <ins class=\"diffchange diffchange-inline\">gcc folder;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*if you save your gcc folder(the one in which you copy the archive) in another location than the default one your path will change; </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*the configure command must end with gcc-version/configure;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*/home/username/newlib/newlib-2.1.0 is the path to your newlib folder;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*if you save your newlib folder(the one in which you copy the archive) in another location than the default one your path will change; </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*the configure command must end with newlib-version/configure;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*/home/username/binutils/binutils-2.24-20150423 is the path to your configure file. binutils-2.24-20150423 is the folder that was created after extracting the package, and if your folder has a different name your path will become: /home/username/binutils/folderName; </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*if you save your binutils folder(the one in which you copy the archive) in another location than the default one your path will change; </ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*/home/username/rl78/gdb-7.8.2 is the path to your rl78 folder;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*if you save your rl78 folder(the one in which you copy the archive) in another location than the default one your path will change;</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*the configure command must end with rl78-version/configure.</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*If one of this errors occurs :</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> 1./usr/local/bin/ld - this linker was not configured to use sysroots</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; collect2: error: ld returned 1 exit status</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> 2.configure: error: '/home/username/gdb/build' :</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">&#160; configure: error: C compiler cannot create executables</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">You will have to remove ld file from /usr/local/bin following the steps:</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#160;</div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> 1. $ cd /usr/local/bin</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> 2. $ rm -f ld</ins></div></td></tr>\n<tr><td colspan=\"2\">&#160;</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"> 3. $ cd /home/username/RL78-Toolchain/build</ins></div></td></tr>\n"
    }
}