Forum > FPC development

[SOLVED]Do we have the plan about adding option -fPIE?

(1/5) > >>

TYDQ:
gcc's -fPIE option can make the executable loading position independent.It is important that loaded executable files cannot to be affected by other loaded executable files.Do our fpc development team has the plan to add this for further version?

paweld:
@TYDQ: I think you can get answers to your questions faster on the mailing list - you have links in the left menu of the page

MarkMLl:
I've attempted to make that point more than once.

MarkMLl

marcov:
FPC already has that as "-Cg".

MarkMLl:

--- Quote from: marcov on August 07, 2024, 10:24:18 am ---FPC already has that as "-Cg".

--- End quote ---

Frankly I /thought/ there was. The problem appears to be that looking at help output


--- Code: ----Cg        Generate PIC code

--- End code ---

Ditto in the documentation at https://www.freepascal.org/docs-html/current/user/userap1.html#x171-178000A so it certainly doesn't spring out when one does the sort of quick check I tried earlier... since there's a whole line available I thing the term could usefully be given in full rather than as an acronym.

MarkMLl

Navigation

[0] Message Index

[#] Next page

Go to full version