<p>Am 12.09.2013 03:46 schrieb "Xiangrong Fang" <<a href="mailto:xrfang@gmail.com">xrfang@gmail.com</a>>:<br>
> I have downloaded fpcbuild.zip and did 'NOGDB=1 make build', as it tell me cannot find libgdb.a...</p>
<p>Just ignore the libgdb stuff. It's only needed for the textmode IDE.</p>
<p>> Now my question is how can I install the binaries so that it does NOT interfere with my current 2.6.2 build?</p>
<p>Use the following in the source directory of a FPC 2.7.1 to install to a directory of your choice:</p>
<p>make clean all install INSTALL_PREFIX=/wherever/you/want</p>
<p>Then copy your ~/.fpc.cfg or /etc/fpc.cfg to e.g. ~/.fpc.2.7.1.cfg and adjust all paths in there.</p>
<p>To compile programs you now need the following:<br>
- add /wherever/you/want/bin and /wherever/you/want/lib/fpc/2.7.1 to your $PATH (maybe only temporary for your current console session)<br>
- call fpc with the following arguments (in addition to other options you might need): fpc -n @~/.fpc.2.7.1.cfg [other options]</p>
<p>Regards,<br>
Sven</p>