Hi,
I'm using
lazarus 1.2.4+ with FPC 2.6.4 under Linux Debian. I understand that only FPC with linux binary was installed into this version of lazarus, but I'm not sure....
I would like to use cross compilation to produce windows binaries with debian. I followed
Cross compiling for win32 under Linux but I failed to compil my test project.
The error is that lazarus can't find system libraries, I suppose win32 system libraires.
This is probably because this tutorial is not complet. I think I have to build win32 binaries for FPC too... So I installed FPC 3.1.1 because for FPC 2.6.4 I understand I will need an older version of gnu make and I can't find it for debian
(and also I don't know how to install with a newer version already installed).
So FPC 3.1.1 is a work in progress, and fpcbuild/install/INSTALL file show me I first have to creating *src.zip files. But make sourcezip command display an error message :
gelinp@inspiron:~/07_ADMINISTRATION_SYSTEME/DOSSIERS_PRODUITS/FPC/fpcbuild$ make sourcezip
make: execvp: /usr/local/bin/pwd.exe: Permission non accordée
Makefile:135: *** Compiler .exe not found. Arrêt.
Why makefile is looking for windows pwd.exe under Debian ? I don't understand where is te problem.
By the way I try to compil win32 FPC binaries and I need to use NOGDB=1 option. Why ?:
make all OS_TARGTE=win32 CPU_TARGET=i386 NOGDB=1
Thank you for your help !