[Lazarus] Build of Lazarus fails on Mac with STABS error (perhaps because of MacOSX 10.11??)
Schindler Karl-Michael
karl-michael.schindler at web.de
Wed Sep 30 20:59:43 CEST 2015
Hi
> Am 30.09.2015 um 19:31 schrieb lazarus-request at lists.lazarus.freepascal.org:
>
> Date: Wed, 30 Sep 2015 16:37:38 +0200
> From: Michael Ring <mail at michael-ring.org>
> Subject: Re: [Lazarus] Build of Lazarus fails on Mac with STABS error
> (perhaps because of MacOSX 10.11??)
> To: Lazarus mailing list <lazarus at lists.lazarus.freepascal.org>
> Message-ID: <560BF3B2.4040908 at michael-ring.org>
> Content-Type: text/plain; charset="windows-1252"; Format="flowed"
>
> I am not sure if I understand correctly what you mean.
>
> Is there a way to pass -gw with the help of lazbuild? I checked, but did
> not find anything obious.
>
> The only other option would be to fix all Makefiles with a sed script
> (there is quite a number of -g in the Makefiles) this works of course
> but it would be better to have this solved in a another way.
>
> Do you know if Stabs for Mac is only removed on trunk or also removed in
> 3.0?
>
> 3.0 will some day get officially supported compiler for building
> lazarus, but not trunk.
>
> Michael
To the best of my capabilities I have resolved this issue in the fink packages for lazarus 1.4.2 and fpc 2.6.4.The package descriptions contain all required changes, but also some more. In short, the following change in the source code needs to be applied:
sed -i.bak "s|GenerateDwarf/Value', false|GenerateDwarf/Value', true|g" ide/compileroptions.pp
Then compile the sources with:
make clean bigide LCL_PLATFORM=carbon OPT="-gl -gw" PP=ppc386 CPU_TARGET=i386 CPU_SOURCE=i386
and install it with:
make install
So, it does not require fpc 3.0 or even svn-trunk.
Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150930/f3edc541/attachment-0001.sig>
More information about the Lazarus
mailing list