Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv10092/unstable/main/finkinfo/devel
Modified Files: lazarus.info Log Message: Lazarus IDE: clearing confusing warning about stabs debug information. Index: lazarus.info =================================================================== RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel/lazarus.info,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- lazarus.info 10 Feb 2010 17:26:34 -0000 1.10 +++ lazarus.info 2 Sep 2010 14:43:25 -0000 1.11 @@ -2,7 +2,7 @@ Package: lazarus%type_pkg[uitype] Type: uitype (-aqua -gtk2) Version: 0.9.28.2 -Revision: 1006 +Revision: 1007 Architecture: powerpc, i386, x86_64 License: GPL/LGPL @@ -56,6 +56,43 @@ sed -i.bak 's|/usr/local/share|%p/share|g' tools/install/macosx/environmentoptions.xml sed -i.bak 's|/Developer/lazarus|%p/share/lazarus|g' tools/install/macosx/environmentoptions.xml +# set the debug format to dwarf for Mac OS X 10.5 and up +# +# with 0.9.30 this should also be possible by adding compileroptions.xml to /%p/etc/lazarus with something like this: +# +#<?xml version="1.0"?> +#<CONFIG> +# <CompilerOptions> +# <Version Value="8"/> +# <SearchPaths> +# <IncludeFiles Value="$(ProjOutDir)/"/> +# </SearchPaths> +# <Linking> +# <Debugging> +# <GenerateDwarf Value="True"/> +# </Debugging> +# <Options> +# <Win32> +# <GraphicApplication Value="True"/> +# </Win32> +# </Options> +# </Linking> +# <Other> +# <CompilerPath Value="$(CompPath)"/> +# </Other> +# </CompilerOptions> +#</CONFIG> +# +# maybe only the branch to <GenerateDwarf Value="True"/> is needed. +# +# until then do it through changes in the source code: + +if [[ $(sw_vers -productVersion) > 10.4 ]]; then + sed -i.bak 's|GenerateDwarf/Value'', false|GenerateDwarf/Value'', true|g' ide/compileroptions.pp + sed -i.bak 's|GenerateDwarf/Value'', GenerateDwarf, false|GenerateDwarf/Value'', GenerateDwarf, true|g' ide/compileroptions.pp + sed -i.bak 's|FGenerateDwarf := false;|FGenerateDwarf := true;|g' ide/compileroptions.pp +fi + << CompileScript: << ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs