Strange linker flags transformation

2021-03-16 Thread Oleg Smolsky
Hello, I'm experimenting with a different compiler setup and, hitting an issue with Libtool while tweaking linker flags. Here is what I am trying to invoke: /bin/bash ./libtool  --tag=CC   --mode=link /opt/gcc-10sr/bin/gcc  -g -Wall -O2 -ljsoncpp -lmodpbase64 -lczmq -lzmq -lcrypto -lsqlite3 -

Re: Strange linker flags transformation

2021-03-16 Thread Oleg Smolsky
On Tue, Mar 16, 2021 at 3:29 PM Oleg Smolsky wrote: > /bin/ld: fatal error: /opt/3p/lib: pread failed: Is a directory > > Slight correction - this particular issue comes from a typo in a composite -Wl, argument. Not much to this mystery. Yet the trailer is puzzling...