Re: [Lazarus] Cross-compiling to win32 from debian stretch

2017-12-04 Thread Mattias Gaertner via Lazarus
On Sun, 3 Dec 2017 21:29:04 +0100 kardan via Lazarus wrote: >[...] > $ 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. The hint

Re: [Lazarus] Cross-compiling to win32 from debian stretch

2017-12-04 Thread wkitty42--- via Lazarus
On 12/03/2017 03:29 PM, kardan via Lazarus wrote: 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. as noted previously, you /MUST/ use 3.0.2 to build

Re: [Lazarus] Cross-compiling to win32 from debian stretch

2017-12-03 Thread kardan via Lazarus
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 wrote: > > ~/src/fpc(master)$ make all > > Makefile:2918: *** The only supported starting

Re: [Lazarus] Cross-compiling to win32 from debian stretch

2017-12-02 Thread Péter Gábor via Lazarus
First rebuild your normal (not the cross version) FPC from trunk. Then change your path environment variable to contain the new compiler's path. You can change it if you open the file .profile in your home folder. Add a new line to the end of the file. An example: export

Re: [Lazarus] Cross-compiling to win32 from debian stretch

2017-11-30 Thread Mattias Gaertner via Lazarus
On Tue, 28 Nov 2017 20:21:47 +0100 kardan via Lazarus wrote: > Hi, > > summary: my fpc and ppcross* have different versions, because I can't > build fpc with the installed version. Why does this happen: > > ~/src/fpc(master)$ make all > Makefile:2918: *** The

Re: [Lazarus] Cross-compiling to win32 from debian stretch

2017-11-30 Thread kardan via Lazarus
Hi, it looks like I need to train my patience a bit more. On Tue, 28 Nov 2017 20:21:47 +0100 kardan via Lazarus wrote: > summary: my fpc and ppcross* have different versions, because I can't > build fpc with the installed version. Why does this happen: > >

Re: [Lazarus] Cross-compiling to win32 from debian stretch

2017-11-28 Thread kardan via Lazarus
Hi, summary: my fpc and ppcross* have different versions, because I can't build fpc with the installed version. Why does this happen: ~/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. On Tue, 28 Nov

Re: [Lazarus] Cross-compiling to win32 from debian stretch

2017-11-28 Thread Mattias Gaertner via Lazarus
On Tue, 28 Nov 2017 00:41:38 +0100 kardan via Lazarus wrote: > Really appreciate the fast reply! > > On Tue, 28 Nov 2017 00:20:29 +0100 > Mattias Gaertner via Lazarus wrote: > > > Check your -Fu paths in /etc/fpc.cfg. They should

Re: [Lazarus] Cross-compiling to win32 from debian stretch

2017-11-27 Thread Péter Gábor via Lazarus
You may have a different fpc.cfg (named .fpc.cfg << spot the dot on Linux) in your home folder. 2017-11-28 00:41 keltezéssel, kardan via Lazarus írta: > Really appreciate the fast reply! > > On Tue, 28 Nov 2017 00:20:29 +0100 > Mattias Gaertner via Lazarus wrote:

Re: [Lazarus] Cross-compiling to win32 from debian stretch

2017-11-27 Thread kardan via Lazarus
Really appreciate the fast reply! On Tue, 28 Nov 2017 00:20:29 +0100 Mattias Gaertner via Lazarus wrote: > Check your -Fu paths in /etc/fpc.cfg. They should contain the > paths to fpc's i386-win32 ppu files. > > Mattias This is what i found related to -Fu in

[Lazarus] Cross-compiling to win32 from debian stretch

2017-11-27 Thread kardan via Lazarus
Hallo, As a I am new to this list, FreePascal and Lazarus I need a little help by you to crosscompile our project to win32. Compiling to win64 however succeeds: $ lazbuild --pcp=../../lazconf --os=win64 --cpu=x86_64 Tomboy_NG.lpi ... Free Pascal Compiler version 3.1.1 [2017/11/27] for x86_64