Yes! Thank you very much.
gave an output where the first line was:
Code:
cc: error: unrecognized command line option '-W1,--verbose'
That's right, I typed "1" instead of "l". I must be getting tired.
I re-entered these commands:
Code:
echo 'main(){}' >
dummy.c cc dummy.c -v -Wl,--verbose &> dummy.log
readelf -l a.out | grep ': /lib'
and that solved it.
Thanks very much for your help, rep given.