Domanda

How can I use Whole Program Optimization feature in Free Pascal 2.7.1 on Windows?

I get this error:

Project1.dpr(92,1) Fatal: Cannot find "nm.exe" or "" to extract symbol liveness information from linked program

È stato utile?

Soluzione

The problem is the WPO is trying to extract symbols from your executable using NM. NM is not available for Windows.

The good news is, Windows has DumpBin instead. I think you can use this directly in place of NM.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top