Re: Libtool does not generate shared libraries when cross compiling x86/64 -> sparc64 using fujitsu compiler
Mike Frysinger <[email protected]>
| Newsgroups | gmane.comp.gnu.libtool.general |
|---|---|
| Message-ID | <[email protected]> |
On 02 Feb 2016 17:51, Harald Servat wrote: > we want to use libtool on a system on which we have to cross-compile > from intel x86/64 to sparc/64 using the Fujitsu compiler (fccpx). > Unfortunately, I'm unable to get libtool (version 2.4.2) to generate > shared libraries. > > I have written a very small libtool + autotools example and run the > following but I'm always getting the output shown below the commands. > Note, that the same works fine in a linux/x86-64 and I don't have to add > --enable-shared in that case, so I guess I don't need --enable-shared > either in these tests. > > COMMANDS: > > ./configure --prefix=/tmp/test CC=fccpx --host=x86_64 > ./configure --prefix=/tmp/test CC=fccpx --host=x86-64 --target=sparc64 > ./configure --prefix=/tmp/test CC=fccpx --host=x86_64 > --target=sparc64-linux your flags are incorrect. you want --build=x86_64-linux-gnu and --host=sparc64-linux-gnu. please read this doc for more info: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Hosts-and-Cross_002dCompilation.html -mike _______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWsO8hAAoJEEFjO5/oN/WB5nQQAJAqs5q/jmSs9OAzWXKjIFUD qO/PjrHA0sMXsaPB1nuQbtLUOC9pZ+lW4MeayUmQH/EtZLJ43LP+f+TK6Zy4CpOK lPQTy6GQKl5N1rjYHUIupQVFKYGOEPv4RtFrPrebsvo66xpx9SnR3lkRpjG4am9+ 9/EH94ahdbSfBSnQy1WuWsU/jlx7dCwlpxeYKXFbPL89JE67h66JATCMhhKeB6Sp u7DvlXGoUXFK71DBc3ask4uW/yNsAaGyMndGlbXMpgE6mKiDCQ/CfKrJzaJoy4jg fXX4l8vdoPBOxhixIIZzVUxaUfZcI330VN3lyPQAv6Gf99RBdQoT3Do8aijHanIp CwJeCjXphWE0e324BHLwAC8qscEaFAEtcuAegwArpUk2eT6Wp4LO0pE6Ev+vGiv9 hcjPw841th6+BXlhyg1DzNyXzgvv+FZC9wV5uDM9MKn0Cye55rUDN2vckgJF5/mo d14LsQSdQp/USAlkTZv1JZy18d7KiETtpfH7umCyAXK8JWZJR2DfffsAJBvTVy+X 4iLb9yq6Nj7+YCI7Ic9ACMqD7D6HFNrCMn47WWzDPz8sW45earcTrNCyqdRmdgu2 T/3SCF4Wxl6SsuRPePcaTSajLUqcG4OwPKHltb7murmhSyNJhOzPJSoOIXfyBo+L KvZSKAjpoHmBaft7/oaU =iWi7 -----END PGP SIGNATURE-----