[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Libtool does not generate shared libraries when cross compiling x86/
From: |
Mike Frysinger |
Subject: |
Re: Libtool does not generate shared libraries when cross compiling x86/64 -> sparc64 using fujitsu compiler |
Date: |
Tue, 2 Feb 2016 13:02:09 -0500 |
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
signature.asc
Description: Digital signature