Xcode 4.4 with embedded platforms

110 views
Skip to first unread message

Robert Grant

unread,
Aug 27, 2012, 10:36:18 AM8/27/12
to cocotr...@googlegroups.com
The relentless churn in the Xcode toolchain is getting frustrating. Trying to get Cocotron to play nice with Xcode 4.4 (with the embedded platforms in the app bundle) and not getting very far. My theory is Xcode app binary knows about the acceptible platforms and Cocotron is not one of them.


Has anyone had any success getting Cocotron to play nice with Xcode 4.4?

Thanks,

Robert.

Christopher Lloyd

unread,
Sep 5, 2012, 10:16:41 PM9/5/12
to cocotr...@googlegroups.com
Hey Robert,

The .platform is only required for the xcxdb debugger. I haven't had any trouble with Xcode 4.4 and just the compiler toolchain, it should work as-is.

The Xcode plugin architecture is basically private API, so any hooks are probably going to break sooner or later, I would also expect the Xcode -> gdb communication used by xcxdb to be broken too as they phase-in lldb and remove gdb entirely.

Another debugging alternative would be nice here but I don't have one on the radar right now. Anyone have suggestions?

Chris

Robert Grant

unread,
Sep 12, 2012, 5:28:00 PM9/12/12
to cocotr...@googlegroups.com
Hi Chris,

Thanks for the info - sounds promising - but when I try and build in 4.4 without doing anything with platforms I get dinged with Xcode saying there's not a suitable executable so it just refuses to build.

How have you worked around that?

Robert.

Christopher Lloyd

unread,
Sep 17, 2012, 11:21:16 AM9/17/12
to cocotr...@googlegroups.com

Hi Robert,

All my Xcode specifications (pbcompspec) are in:

/Library/Application Support/Developer/Shared/Xcode/Specifications/

The compiler is in:

/Developer/Cocotron/1.0/Windows/i386/gcc-4.3.1
/Developer/Cocotron/1.0/Windows/i386/g++-4.3.1

Which are pointed to by the specifications.

In the projects, the SDK is set to Current Mac OS, and the compiler is set to the Cocotron Windows compiler.

If you have existing binaries use those, if you want to do it from scratch again, Pauli has a nice writeup here:

Apologies for this getting so complicated, the tools need a little TLC right now.

Chris

Robert Grant

unread,
Sep 20, 2012, 10:30:14 AM9/20/12
to cocotr...@googlegroups.com
Ah - that was the trick - setting the platform to OS X makes it much happier.

Robert.
Reply all
Reply to author
Forward
0 new messages