On 01/06/2023 15:53, Udo Grabowski (IMK) wrote:
On 01/06/2023 15:49, Marcel Telka wrote:
Hi,

I just noticed this:

$ /usr/gcc/11/bin/gcc -pie a.c
gcc: error: -pie is not supported in this configuration
$ /usr/gcc/10/bin/gcc -pie a.c
gcc: error: -pie is not supported in this configuration
$ /usr/gcc/7/bin/gcc -pie a.c
gcc: error: -pie is not supported in this configuration
$

Any idea what is wrong wit -pie at OI?
Is it possible to make it working?


Isn't it -fpie ?



No, seems to be something slightly different:

 -pie
     Produce a dynamically linked position independent executable on
     targets that support it.  For predictable results, you must also
     specify the same set of options used for compilation (-fpie, -fPIE,
     or model suboptions) when you specify this linker option.


--
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology           http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
oi-dev mailing list
[email protected]
https://openindiana.org/mailman/listinfo/oi-dev

Reply via email to