Liste des Groupes | Revenir à cl c |
bart <bc@freeuk.com> writes:
>On 27/06/2024 21:23, Tim Rentsch wrote:>
>After taking care of all that the build did manage to produce an>
executable, which appears to have run successfully.
>
After doing a trial run with the produced executable, I looked at
the tcc man page. As best I can tell, tcc simply silently
ignores the -fPIC option.
I think that it tries to be a drop-in replacement for gcc, so supports
some of its options, even if they don't do anything. Like -O3.
>
Position-independent code seems to be a recent thing with gcc tools. My
tools didn't support it either, until a year ago when I found out about
ASLR.
gcc has supported generating position independent code for at
over a quarter of a century.
>For most, PIC isn't a necessity.>
That's your opinion.
I don't think it matches reality.
Les messages affichés proviennent d'usenet.