Follow-up Comment #3, sr #111210 (group libtool):

Thanks for your quick reply and review.

> [comment #0 original submission:]
>> Instead, I suggest to use the compiler frontend to do the right thing,
>> removing -nostdlib and setting output_verbose_link_cmd
>> to empty.

> I have attached a patch which implements this by adding an option for users
> to disable the use of -nostdlib for C++ linking. 

My suggestion above was actually meant for the NetBSD case only. My intention
with this paragraph was to explicit the changes that I made in my initial
patch, as it indeed suppresses the use of -nostdlib for NetBSD systems. Sorry
if I was not clear enough, I did not mean to remove -nostdlib for all
supported systems.

This said, I have nothing against your new configuration option. Just note
that in combination with my patch, this option will be ignored on NetBSD, as
the linker command "archive_cmds" is overridden.
Maybe the default could be made platform-specific and for instance default to
"enable-cxx-stdlib=yes" on NetBSD?


> I have found no issues with testing your patch, but it needs to be updated to
> remove the second paragraph. Also, it would be nice if it referenced this
> issue with a link. If you are okay with these updates, I will commit the
> updated patch which is attached on the development branch.

Yes, no problem with your updates. Thanks!



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?111210>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to