Forum > Windows

Lazarus-Option "-pg" is not, or not yet?

(1/2) > >>

d2010:
Hello..
Fatal: Option "-pg" is not, or not yet, supported on the current target platform
You please help me?

MarkMLl:
That's a compiler option, nothing to do with Lazarus as such. What sort of problem are you having?

It's usually good practice to post example code, or at least in your case an example command line plus a description of what you're seeing and how it fails to match expectations.

MarkMLl

d2010:

--- Quote from: MarkMLl on June 06, 2022, 09:28:08 am ---That's a compiler option, nothing to do with Lazarus as such. What sort of problem are you having?
MarkMLl

--- End quote ---

I do not found devlaza.exe on disk?
Can I search again . the result of devlaza.lpi to devlaza.exe?

tetrastes:
I suppose your target is Windows 64 bit?
This option is only for 32 bit:

440bx:
@d2010

I see your code is using SetWindowLong and SetWindowLongPtr protected by an $ifdef.  You might be interested in knowing that the FPC API definitions for Windows declare SetWindowLongPtr for 32bit, mapping it to SetWindowLong, which means, you can simply code a call to SetWindowLongPtr without any $ifdef.    IOW, SetWindowLongPtr works in both 32bit and 64bit (with FPC.)


Navigation

[0] Message Index

[#] Next page

Go to full version