[fpc-devel] Building 2.7.1 on current Raspbian fails

Joost van der Sluis joost at cnoc.nl
Fri Oct 24 15:45:42 CEST 2014


On 10/24/2014 03:32 PM, Joost van der Sluis wrote:
> On 10/24/2014 12:39 AM, Jonas Maebe wrote:
>> On 23/10/14 17:16, Vsevolod Alekseyev wrote:
>>> There's no separate makefile for fpcmake alone, is there?
>>
>> It used to be as simple as going into utils/fpcm and performing a "make
>> all", but with the new FPC-based build system I think that is
>> unfortunately no longer possible.

> The same holds with the fpmake-system. When your fpmake uses some new
> functionality that is only available in the new compiler or a new
> fpmkunit-unit, you have a problem. For this case fppkg uses two
> configurations. One to compile the fpmake.pp-files, and one to compile
> the actual packages. But that's not configured by default.

I've tried to build trunk's fpcm with fpc 2.6.2 and that failed due to 
new features being used in the fpmake.pp. ;(

So in this case already you'll need the double-fpmake-setup. Or you can 
use the attached patch.

Joost.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fpcm_build_with_fpc_262.diff
Type: text/x-patch
Size: 1408 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20141024/dd565f5d/attachment.bin>


More information about the fpc-devel mailing list