[ https://issues.apache.org/jira/browse/STDCXX-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor resolved STDCXX-1052. ---------------------------------- Resolution: Fixed Will close after merging to 4.3.x and trunk. > 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 > Components: Configuration > Affects Versions: 4.2.1 > Environment: Linux and Embedded > Reporter: Wojciech Meyer > Assignee: Martin Sebor > Fix For: 4.2.x > > Time Spent: 2h > Remaining Estimate: 0h > > 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. - For more information on JIRA, see: http://www.atlassian.com/software/jira