Home » U++ Library support » U++ Library : Other (not classified elsewhere) » msc builder patch , msc builder ignore compiler field
msc builder patch , msc builder ignore compiler field [message #49827] |
Sun, 13 May 2018 15:11 |
aftershock
Messages: 143 Registered: May 2008
|
Experienced Member |
|
|
Hi,
Msc builder ignores compiler field...mingw does not.
The fix of this in mscbuilder.cpp:
String MscBuilder::CmdLine(const String& package, const Package& pkg)
{
String cc;
if(HasFlag("ARM"))
cc = "clarm";
else
if(HasFlag("MIPS"))
cc = "clmips";
else
if(HasFlag("SH3"))
cc = "shcl /Qsh3";
else
if(HasFlag("SH4"))
cc = "shcl /Qsh4";
else
if(HasFlag("MSC8ARM"))
cc = "cl -GS- ";
else
cc = HasFlag("INTEL") ? "icl" : "cl";
if (!IsNull(compiler)) // THIS IS THE FIX INSERT THESE TWO LINES
cc = compiler; // THIS IS THE FIX
return cc;
}
_____________________
Moderator: Please use code tags instead of adding code as a text.
[Updated on: Sun, 13 May 2018 15:51] by Moderator Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Nov 10 20:24:42 CET 2024
Total time taken to generate the page: 0.01234 seconds
|