Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
aftershock is currently offline  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

 
Read Message
Read Message
Read Message
Previous Topic: How can I turn off soring in ArrayCtrl?
Next Topic: patch:improvement to docking, to be able to move tabs in a menu
Goto Forum:
  


Current Time: Sun Nov 10 20:24:42 CET 2024

Total time taken to generate the page: 0.01234 seconds