Lazarus中文社区

 找回密码
 立即注册(注册审核可向QQ群索取)

QQ登录

只需一步,快速开始

版权申明
查看: 2951|回复: 2

【已解决】lazarus1.0.8 build报错

[复制链接]

该用户从未签到

发表于 2013-5-12 20:27:01 | 显示全部楼层 |阅读模式
本帖最后由 bowa 于 2013-5-13 16:35 编辑

因为重装系统,先前装的1.0.8还在,参考新年礼物之Lazarus
1.0.6绿色版
,做了一个build文件,内容如下:
REM Adjust the path to yours
REM 请自行调整下面的路径

SET LAZARUS_PATH=D:\devtools\lazarus
SET FPC_VER=2.6.2
SET FPC_KERNEL=x86_64-win64
SET FPC_BIN_PATH=%LAZARUS_PATH%\fpc\%FPC_VER%\bin\%FPC_KERNEL%

REM Create fpc.cfg
%FPC_BIN_PATH%\fpcmkcfg.exe -d basepath=%LAZARUS_PATH%\fpc\%FPC_VER% -o %FPC_BIN_PATH%\fpc.cfg

REM Set fpc Path
Set Path=%FPC_BIN_PATH%

REM Make lazarus
make clean all bigide

REM strip
strip.exe lazarus.exe
strip.exe lazbuild.exe
strip.exe startlazarus.exe

REM UPX 64位好像没有这个命令,注释掉
rem upx.exe lazarus.exe
rem upx.exe lazbuild.exe
rem upx.exe startlazarus.exe

我用的是Win7 x64,编译的时候出现下面的错误:
/devtools/lazarus/fpc/2.6.2/bin/x86_64-win64/rm.exe -f
/devtools/lazarus/fpc/2.6.2/bin/x86_64-win64/rm.exe -f
/devtools/lazarus/fpc/2.6.2/bin/x86_64-win64/rm.exe -f
/devtools/lazarus/fpc/2.6.2/bin/x86_64-win64/rm.exe -f
/devtools/lazarus/fpc/2.6.2/bin/x86_64-win64/rm.exe -f
/devtools/lazarus/fpc/2.6.2/bin/x86_64-win64/rm.exe -f ../units/x86_64-win64/win32/editoroptions.res ../units/x86_64-win64/win32/lazarus.res
make: Interrupt/Exception caught (code = 0xc0000005, addr = 0x74cdce59)
make: *** [cleanide] Error 255
make: Interrupt/Exception caught (code = 0xc0000005, addr = 0x74cdce59)

不知是什么原因,麻烦大家给指点一下。
回复

使用道具 举报

该用户从未签到

发表于 2013-5-12 21:48:26 | 显示全部楼层
make.exe 的问题

换一个就OK了

用这个试试吧

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册(注册审核可向QQ群索取)

x
回复 支持 反对

使用道具 举报

该用户从未签到

 楼主| 发表于 2013-5-13 16:33:23 | 显示全部楼层
非常感谢roolive,解决问题了,从昨晚重装了两次系统,都没有解决问题。
用了你提供的这个make文件万事大吉,再次感谢
两个make文件的版本信息
D:\devtools\lazarus\fpc\2.6.2\bin\x86_64-win64>make -v
GNU Make 3.82
Built for i686-w64-mingw32
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

D:\devtools\lazarus\fpc\2.6.2\bin\x86_64-win64>make_old -v
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
make_old: Interrupt/Exception caught (code = 0xc0000005, addr = 0x74b5ce59)
回复 支持 反对

使用道具 举报

*滑块验证:

本版积分规则

QQ|手机版|小黑屋|Lazarus中国|Lazarus中文社区 ( 鄂ICP备16006501号-1 )

GMT+8, 2025-5-1 19:18 , Processed in 0.034019 second(s), 9 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表