On Fri, Oct 17, 2014 at 11:09:17AM +0100, Paul Michell wrote:
> I'm currently trying to build 2.7.1 from SVN on the latest Raspbian 
> (2014-09-09).
> I've previously built this with either 2.6.0 from the repository, or with 
> Thaddy de Koning's build from March 2014.
> 
> Currently, neither of these will build 2.7.1 on a Raspberry Pi.  So I have 
> also tried with the generic arm-linux
> release archive (fpc-2.6.4.arm-linux.tar).  This installed without error and 
> I can compile projects on the Pi with it.
> 
> However, when trying to build 2.7.1 (make all) it creates a compiler binary, 
> but fails whilst compiling fpmake.  
> This looks similar to the bug 0024056 which is flagged as resolved.  The 
> solution suggested there is to install 
> build-essential, but this is installed by default on Raspbian, so I think 
> there must be something else wrong? 
> 
> Could anyone suggest what I could try now?
> 
> --8<--
> 
> /home/pi/Projects/FreePascal/fpctmp/compiler/ppcarm fpmake.pp  
> -Fu/home/pi/Projects/FreePascal/fpctmp/packages/fpmkunit/units_bs/arm-linux 
> -Fu/home/pi/Projects/FreePascal/fpctmp/rtl/units/arm-linux  
> Free Pascal Compiler version 2.7.1 [2014/10/17] for arm
> Copyright (c) 1993-2014 by Florian Klaempfl and others
> Target OS: Linux for ARMEL
> Compiling fpmake.pp
> fpmake.pp(16,3) Note: Local variable "T" is assigned but never used
> Assembling fpmake
> Linking fpmake
> fpmake.pp(46) Warning: "crti.o" not found, this will probably cause a linking 
> failure
> fpmake.pp(46) Warning: "crtbegin.o" not found, this will probably cause a 
> linking failure
> fpmake.pp(46) Warning: "crtend.o" not found, this will probably cause a 
> linking failure
> fpmake.pp(46) Warning: "crtn.o" not found, this will probably cause a linking 
> failure

Where are these files on your system?  I remember after multiarch
happened on debian I had to add some library paths to get fpc to link.
This sounds like a similar issue.

Henry
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to