libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Shterenlikht, Anton
Subject: Re: armflang: error: unknown argument: '-soname'
Date: Thu, 19 Oct 2023 18:48:05 +0000

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 <shterenlikht@par-tec.com> 
> 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
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]