Recent

Author Topic: WPO  (Read 2654 times)

Fiji

  • Guest
WPO
« on: May 07, 2014, 09:44:47 pm »
How to generate WPO file for Whole Program Optimization. I am using FPC 2.7.1 on Windows.
The documentation is rather cryptic on this.

For example I get this error:
Project.dpr(96,1) Fatal: Cannot find "nm.exe" or "" to extract symbol liveness information from linked program


Thanks.
« Last Edit: May 07, 2014, 11:16:09 pm by Fiji »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12202
  • Debugger - SynEdit - and more
    • wiki
Re: WPO
« Reply #1 on: May 07, 2014, 11:54:04 pm »
How did you install 2.7.1
nm.exe is part of the  lazarus installer (at least win32).

If you build yourself, you need to checkout those tools

http://svn.freepascal.org/svn/fpcbuild/trunk
http://svn.freepascal.org/svn/fpcbuild/trunk/install/binw32

It is not part of win64
http://svn.freepascal.org/svn/fpcbuild/trunk/install/binw64
No idea why.

 

TinyPortal © 2005-2018