[uClibc] building et_dyn executables

Rogelio Serrano rogelio at smsglobal.net
Sun Mar 28 17:36:12 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Whats the best way to build et_dyn executables?

i tried this:

gcc -pie a.c

the resulting a.out will segfault

but
gcc -fPIC -c a.c
gcc -pie a.o
does the right thing
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using the GPG bundle for GNUMail.app

iD8DBQFAZw0IyihxuQOYt8wRAq+cAJ0ciZ9QV7SU2R+d9ddX4QSKW0Hj5wCeMU39
iU/6LtqP/9zyaiqXMe+lN68=
=piKn
-----END PGP SIGNATURE-----




More information about the uClibc mailing list