Lazaus doesn't work on Windows with the latest FPC version from trunk
Original Reporter info from Mantis: silvioprog
-
Reporter name: silvioprog
Original Reporter info from Mantis: silvioprog
- Reporter name: silvioprog
Description:
Hello,
This problem seems more related to the compiler, because Lazarus IDE works fine with a previous copy from a backup about ~four days ago.
When you compile FPC and Lazarus using latest trunk version and try to open Lazarus, it crashs the IDE.
I used the following command to try to open:
C:\dev\git\lazarus\startlazarus.exe --pcp=C:\dev\git\lazarus\cfg
The cfg
folder is an empty direcotry.
PS. find the steps that I used to compile both below.
Steps to reproduce:
:: Download FPC 3.0.0 32 bits (fpc-3.0.0.i386-win32.exe): ftp://ftp.hu.freepascal.org/pub/fpc/dist/3.0.0/i386-win32/fpc-3.0.0.i386-win32.exe
:: Download FPC 3.0.0 64 bits (fpc-3.0.0.i386-win32.cross.x86_64-win64.exe): ftp://ftp.hu.freepascal.org/pub/fpc/dist/3.0.0/x86_64-win64/fpc-3.0.0.i386-win32.cross.x86_64-win64.exe
::
:: Install fpc-3.0.0.i386-win32.exe and fpc-3.0.0.i386-win32.cross.x86_64-win64.exe over (no problem)
set path=C:\FPC\3.0.0\bin\i386-win32
:: Download all fpc
sources from http://svn.freepascal.org/svn/fpc/trunk
cd C:\dev\git\fpc
make clean all
make install PREFIX=C:\dev\git\fpc
make all OS_TARGET=win64 CPU_TARGET=x86_64
make crossinstall OS_TARGET=win64 CPU_TARGET=x86_64 PREFIX=C:\dev\git\fpc
cd C:\dev\git\fpc\bin\i386-win32
fpcmkcfg -d basepath=C:\dev\git\fpc -o .\fpc.cfg
:: Download 32 files from: http://svn.freepascal.org/svn/fpcbuild/trunk/install/binw32/
copy C:\dev\backup\binw32*.* C:\dev\git\fpc\bin\i386-win32 /y
:: Download 17 files from: http://svn.freepascal.org/svn/fpcbuild/trunk/install/binw64/
copy C:\dev\backup\binw64*.* C:\dev\git\fpc\bin\i386-win32 /y
:: Download two files from: http://svn.freepascal.org/svn/lazarus/binaries/x86_64-win64/gdb/bin/
mkdir C:\dev\git\fpc\bin\x86_64-win64
copy C:\dev\backup\gdb\win64*.* C:\dev\git\fpc\bin\x86_64-win64 /y
set path=C:\dev\git\fpc\bin\i386-win32
:: Download all lazarus
sources from http://svn.freepascal.org/svn/lazarus/trunk
cd C:\dev\git\lazarus
:: make clean all OPT="-glw2"
make bigide OPT="-glw2"
Mantis conversion info:
- Mantis ID: 29545
- Fixed in version: 3.1.1
- Fixed in revision: 33035 (#1951b8aa)