<div dir="ltr"><div>~ # cat wup.c </div><div>int main(int argc, char **argv) { return 0; }</div><div>~ # gcc -fPIE -pie wup.c</div><div>ld: /usr/cc/lib/crtbegin.o: relocation R_X86_64_32 against `_Jv_RegisterClasses' can not be used when making a shared object; recompile with -fPIC</div><div>/usr/cc/lib/crtbegin.o: could not read symbols: Bad value</div><div><br></div><div>I tried -nostartfiles and speciying Scrtbegin.o but to no avail.</div><div>Am I barking up the wrong tree?</div><div><br></div><div>Many thanks</div><div>David</div><div><br></div></div>