U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » Mac OS » fix TheIde [DOWNLOAD] build flag options in GccBuilder for OSX11 and Cocoa
fix TheIde [DOWNLOAD] build flag options in GccBuilder for OSX11 and Cocoa [message #31008] Mon, 31 January 2011 21:52 Go to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
after building theide with xcode now I can build our beautiful beast for OSX11 with itself.
but apart from this menu fix at least 2 more changes needed:
1. in GccBuilder.cpp around line 319
		linkfile.Add(GetHostPath(product));
		for(int i = 0; i < obj.GetCount(); i++)
			if(GetFileTime(obj[i]) > producttime) {
				String lib;
				if(is_shared) {
					lib = CompilerName();	

					if(HasFlag("OSX11") || HasFlag("COCOA") ){
						String exec;
						exec << "setenv MACOSX_DEPLOYMENT_TARGET 10.6";  //TODO add choices dialog
						Execute(exec);
					}
					lib << " -shared -fPIC -fuse-cxa-atexit";


Is it possible to do a similar thing through the existing build options? I tried but...

2. remove plugin/ndisasm or add flags when !OSX11 !COCOA through "Package organizer" for that plugin in Debugger package or edit Debuggers.upp this way
description "TheIDE - debuggers\377B";

uses
	ide\Common,
	HexView;

uses(!OSX11 !COCOA) plugin/ndisasm;


Sorry, attached ide is 64bit for OSX11. I need a bit more time to cook 32bit.

P.S Update now the attacment inside contains an app file with icns (hope you know Smile ). So, you will see and could keep theide icon in the dock. Smile

[Updated on: Tue, 01 February 2011 00:08]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mac OS X port architecture
Next Topic: Upp Core compiles natively on Xcode (download Core.xcodeproj)
Goto Forum:
  


Current Time: Sun Apr 26 03:00:17 GMT+2 2026

Total time taken to generate the page: 0.00555 seconds