You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Wojciech Meyer (JIRA)" <ji...@apache.org> on 2010/09/17 14:59:34 UTC

[jira] Created: (STDCXX-1052) Hardcoded linker options (`-lm' & `-lc') cause problems when configuring with a different compiler than `gcc'

Hardcoded linker options (`-lm' & `-lc') cause problems when configuring with a different compiler than `gcc'

---------------------------------------------------------------------------------------------------------------

                 Key: STDCXX-1052
                 URL: https://issues.apache.org/jira/browse/STDCXX-1052
             Project: C++ Standard Library
          Issue Type: Improvement
         Environment: Linux and Embedded 
            Reporter: Wojciech Meyer


We are having problems with the configuration scripts. Our compiler
refuses to accept `-lm' & `-lc' GNU style command line switches to
denote linking with a standard library. They are hardcoded in
`libc_decl.sh' and `makefile.common'.  We propose introducing a special
`Makefile' variable `WITHOUT_BASE_LIBS' that excludes generating them
for compilation of configuration files during the configure step.

Patch is against trunk.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.