[fpc-devel] FPC 2.7.1 r22088 fails with compiler error in fpdoc.

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Aug 16 10:44:10 CEST 2012


On 16 August 2012 09:30, Michael Schnell <mschnell at lumino.de> wrote:
> After compiling I do
>
> make FPC=`pwd`/compiler/ppc386 install INSTALL_PREFIX=/usr

'make install' doesn't compile anything, it just copies the already
compiled unit and executables in the correct location.


My own FPC usage:
I never install FPC or Lazarus in /usr, I rather install them into my
$HOME/devel/ directory. I always have write access there, and if I
upgrade my Linux (normally via a brand new install), my /home
partition is untouched by the reinstall, and all my development tools
and code are instantly available and working. My ~/.fpc.cfg is also
setup to handle multiple FPC versions and multiple targets for each
version, and I normally have 3 FPC versions installed: latest released
(2.6.0), the latest fixes branch (2.6.1) and trunk (2.7.1)

For example, here is my build script for Trunk 64-bit.

---------[start-trunk64]------------------
#!/bin/bash

COMPILER=/home/graemeg/devel/fpc-2.6.0/x86_64-linux/bin/ppcx64

make clean
make all FPMAKEOPT="-T 8" FPC=$COMPILER
make install INSTALL_PREFIX=/home/graemeg/devel/fpc-2.7.1/x86_64-linux/
FPC=$COMPILER

---------------------------------------------

I have similar scripts for Trunk 32-bit, Fixes (32/64 bit) and Fixes
x-compiler to 32-bit Windows.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net



More information about the fpc-devel mailing list