[Lazarus] Cross-compiling to win32 from debian stretch
kardan
kardan at riseup.net
Sun Dec 3 21:29:04 CET 2017
Today I upgraded fpc* to 3.0.4+dfsg-2. Thanks for uploading the
latest release to debian testing so fast!
On Thu, 30 Nov 2017 11:34:55 +0100
Mattias Gaertner via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
> > ~/src/fpc(master)$ make all
> > Makefile:2918: *** The only supported starting compiler version is
> > 3.0.2. You are trying to build with 3.0.4.. Stop.
>
> In general you need the last release of FPC to build the new FPC.
> And with release I don't mean release candidates. So 3.0.2 was the
> last release.
> FPC 3.0.4 was released today, so FPC trunk will soon require 3.0.4.
>
> Mattias
Thanks for the info. Just tried it again:
$ git svn fetch && make all
Makefile:2918: *** The only supported starting compiler version is
3.0.2. You are trying to build with 3.0.4.. Stop.
$ fpc|head -n3
Free Pascal Compiler version 3.0.4 [2017/10/02] for i386
Copyright (c) 1993-2017 by Florian Klaempfl and others
/usr/local/bin/fpc [options] <inputfile> [options]
$ export fpcoptions='OS_TARGET=win32 CPU_TARGET=i386'
$ make all $fpcoptions
Makefile:215: *** The Makefile doesn't support target i386-win32,
please run fpcmake first. Stop.
$ fpcmake && make all $fpcoptions
Processing Makefile.fpc
i386-linux requires:
Writing Makefile
Makefile:215: *** The Makefile doesn't support target i386-win32,
please run fpcmake first. Stop.
What did I do wrong? Note that for me basic steps related to fpc are
unknown, however I am able to follow the orders by the compiler output.
Thanks!
kardan
More information about the Lazarus
mailing list