Thanks. Yes I wanted to get fpc (the compiler) installed from sources rather than lazarus. Your advice somewhat got me there, but now when I compile the source/units are not found.<div><br></div><div>cd /home/myusername</div>
<div><span style>sudo apt-get install fpc</span></div><div>mkdir fpc</div><div>svn co <a href="http://svn.freepascal.org/svn/lazarus/trunk">http://svn.freepascal.org/svn/lazarus/trunk</a> lazarus</div><div>cd fpc</div><div>
# now i'm at at /home/myusername/fpc/fpc</div><div>make all<br><div><span style>make FPC=`pwd`/compiler/ppc386 -C compiler installsymlink INSTALL_PREFIX=</span>/home/myusername</div><div>make install <span style>INSTALL_PREFIX=</span>/home/myusername</div>
<div>cd /home/myusername</div><div><br></div><div>Then I created Hello.pas:</div><div><br></div><div><div>program Hello;</div><div><br></div><div>begin</div><div>  WriteLn('Hello');</div><div>end.</div></div><div>
<br></div></div><div>And then:</div><div><br></div><div>fpc Hello.pas</div><div><br></div><div><br></div><div>Error:</div><div><br></div><div><div>Free Pascal Compiler version 2.7.1 [2012/04/02] for i386</div><div>Copyright (c) 1993-2012 by Florian Klaempfl and others</div>
<div>Target OS: Linux for i386</div><div>Compiling Hello.pas</div><div>Fatal: Can't find unit system used by Hello</div><div>Fatal: Compilation aborted</div><div>Error: /home/delluser/bin/ppc386 returned an error exitcode</div>
</div><div><br></div>