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.

Reply via email to