configure.in and pie
Stefan (metze) Metzmacher
metze at samba.org
Sat Jun 25 07:21:49 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Stefan (metze) Metzmacher schrieb:
> Lars Müller schrieb:
>>>at the moment we don't compile and link with pie options and also don't
>>>have the ability to do.
>>>As it must be possible to build Samba even with non pie aware tool
>>>chains, I've changes configure.in to add a test for pie.
>>>It's also possible to call configure with --disable-pie. But the
>>>default would be with enabled pie.
btw, what does this gane us?
from man gcc-4.0 I can't really understand what -fpie does compaired to -fPIC
I just read something that this objects can only be used for linking in executables,
(I'm not shure if I understand that correct...) but I don't see the point to use it.
Note in samba 4 we compile always with -fPIC (for executables and modules)
that avoids to recompile everything with other compilerflags again.
(btw: that was tridges idea)
Stefan Metzmacher <metze at samba.org> www.samba.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical