Re: armflang: error: unknown argument: '-soname'

"Shterenlikht, Anton" <[email protected]> Thu, 19 Oct 2023 18:48:05 +0000
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
For comparison, here's how the same line looks like when
I use gfortran:

libtool: link: gfortran -shared  -fPIC  <some *.o files>    -g -O2   -Wl,-soname -Wl,libp2.so.0 -o .libs/libp2.so.0.0.0


> On 19 Oct 2023, at 19:20, Shterenlikht, Anton <[email protected]> wrote:
> 
> Please help me understand how to deal correctly with this error:
> 
> libtool: link: armflang -shared   <some *.o files>     -g   -soname libp2.so.0 -o .libs/libp2.so.0.0.0
> armflang: error: unknown argument: '-soname'
> 
> 
> I see this issue mentioned in multiple places, e.g:
> 
> https://github.com/HDFGroup/hdf5/issues/366
> 
> with the solution that "-Wl," must be prepended somehow to "-soname".
> 
> But I'm not sure what changes I need to do
> to my configure.ac and/or Makefile.am
> to fix this correctly.
> 
> Thank you
> 
> Anton
>
smime.p7s (application/pkcs7-signature, 4.3 KB) - not displayed