Author Topic: CompilerDMC (lib command correction)  (Read 3186 times)

Offline hd

  • Multiple posting newcomer
  • *
  • Posts: 45
    • http://www.dynaset.org/dogusanh
CompilerDMC (lib command correction)
« on: November 19, 2005, 12:24:59 am »
Hi,

(original code commented)

    // m_Commands[(int)ctLinkStaticCmd] = _T("$lib_linker $link_options $link_objects, $static_output, , $libs, , $link_resobjects");
    m_Commands[(int)ctLinkStaticCmd] = _T("$lib_linker $link_options $static_output $link_objects");


ps. Borland compiler accepts -q to supress banner:

    // m_Commands[(int)ctCompileObjectCmd] = _T("$compiler $options $includes -o$object -c $file");
    m_Commands[(int)ctCompileObjectCmd] = _T("$compiler -q $options $includes -o$object -c $file");
    m_Commands[(int)ctCompileResourceCmd] = _T("$rescomp -32 -fo$resource_output $res_includes $file");
    // m_Commands[(int)ctLinkExeCmd] = _T("$linker -aa  $link_options $libdirs c0w32 $link_objects,$exe_output,,$libs,,$link_resobjects");
    m_Commands[(int)ctLinkExeCmd] = _T("$linker -q -aa  $link_options $libdirs c0w32 $link_objects,$exe_output,,$libs,,$link_resobjects");
    // m_Commands[(int)ctLinkConsoleExeCmd] = _T("$linker -ap  $link_options $libdirs c0x32 $link_objects,$exe_output,,$libs,,$link_resobjects");
    m_Commands[(int)ctLinkConsoleExeCmd] = _T("$linker -q -ap  $link_options $libdirs c0x32 $link_objects,$exe_output,,$libs,,$link_resobjects");
    // m_Commands[(int)ctLinkDynamicCmd] = _T("$linker $libdirs -o $exe_output $libs $link_objects $link_options");
    m_Commands[(int)ctLinkDynamicCmd] = _T("$linker -q $libdirs -o $exe_output $libs $link_objects $link_options");
    m_Commands[(int)ctLinkStaticCmd] = _T("$lib_linker /C $static_output $+-link_objects,$def_output");


--
Regards,
Hakki Dogusan


Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: CompilerDMC (lib command correction)
« Reply #1 on: November 19, 2005, 11:26:39 pm »
Thanks :)
Be patient!
This bug will be fixed soon...