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 » Developing U++ » Mac OS » fix TheIde [DOWNLOAD] build flag options in GccBuilder for OSX11 and Cocoa
Re: fix TheIde [DOWNLOAD] GccBuilder.cpp for OSX11 and ObjC [message #33708 is a reply to message #31069] Wed, 07 September 2011 03:21 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
To build ObjC and Cocoa apps (Unix style for now) (maybe iPhone with some more tweaking...) with theide you can use (or apply changes) from the file below.

GCC_obj.bm something like this:
BUILDER = "GCC";
COMPILER = "g++ -arch x86_64";
DEBUG_INFO = "";
DEBUG_BLITZ = "0";
DEBUG_LINKMODE = "2";
DEBUG_OPTIONS = " -x objective-c  -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -fvisibility=hidden -gdwarf-2";
DEBUG_FLAGS = "";
RELEASE_BLITZ = "0";
RELEASE_LINKMODE = "1";
RELEASE_OPTIONS = "-O3 -g -fasm-blocks";
RELEASE_SIZE_OPTIONS = "-finline-limit=20 -fasm-blocks";
RELEASE_FLAGS = "";
DEBUGGER = "gdb";
PATH = "";
INCLUDE = "";
LIB = "";
REMOTE_HOST = "";
REMOTE_OS = "";
REMOTE_TRANSFER = "";
REMOTE_MAP = "";
LINKMODE_LOCK = "0";


Also don't forget to add frameworks to the packages into "Link options" through "Package organizer" eg "-framework Foundation - framework AppKit -framework Cocoa"

If you want launchd style *.app wrapper, then can try to overwrite target via "Output mode" ", but will need to put icons etc inside it, manually. I'll try to improve the code, time permitting.

P.S Is my svn access available?

Aris
 
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: Fri May 10 03:49:20 CEST 2024

Total time taken to generate the page: 0.01599 seconds