Patch #2781 2009-06-28 22:01

stahta01

SDCC Static Lib Wiz Template Craches C::B
Download
2781-SDCC_Static_Li.patch (1.1 KB)
Category
Plugin::Bugfix
Status
Accepted
Close date
2010-02-15 03:56
Assigned to
mortenmacfly
Index: src/plugins/compilergcc/compilerSDCC.cpp
===================================================================
--- src/plugins/compilergcc/compilerSDCC.cpp    (revision 5679)
+++ src/plugins/compilergcc/compilerSDCC.cpp    (working copy)
@@ -138,7 +138,7 @@
     m_Commands[(int)ctGenDependenciesCmd].push_back(CompilerTool(_T("$compiler -MM $options -MF $dep_object -MT $object $includes $file")));
     m_Commands[(int)ctLinkExeCmd].push_back(CompilerTool(_T("$linker $libdirs -o $exe_output $options $link_options $libs $link_objects")));
     m_Commands[(int)ctLinkConsoleExeCmd].push_back(CompilerTool(_T("$linker $libdirs -o $exe_output $options $link_options $libs $link_objects")));
-    //m_Commands[(int)ctLinkStaticCmd].push_back(CompilerTool(_T("$lib_linker -r $static_output $link_objects\n\tranlib $exe_output")));
+    m_Commands[(int)ctLinkStaticCmd].push_back(CompilerTool(_T("$lib_linker -r $static_output $link_objects")));
     m_Commands[(int)ctLinkNativeCmd] = m_Commands[(int)ctLinkConsoleExeCmd]; // unsupported currently
 
     LoadDefaultRegExArray();
stahta01 2009-07-29 19:21

Applied to trunk on SVN 5718 by mortenmacfly

biplab 2010-02-15 03:56

Patch status closed based on user feedback.