Re: Does exec-shield with -fpie work?

From: Terje Eggestad
Date: Tue Jun 15 2004 - 03:43:42 EST


Thx Arjan

That did it!

TJ

On Tue, 2004-06-15 at 10:33, Arjan van de Ven wrote:
> > te pc-16 ~ 70> !gcc
> > gcc -fPIE -fpic -o ./testsc ./testsc.c
> >
>
> you need to pass -pie as option as well; -fpie for the compiler, -pie for the linker,
> eg
>
> gcc -fPIE -pie -o ./testsc ./testsc.c
--

Terje Eggestad
Senior Software Engineer
dir. +47 22 62 89 61
mob. +47 975 31 57
fax. +47 22 62 89 51
terje.eggestad@xxxxxxxxx

Scali - www.scali.com
High Performance Clustering

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/