Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

OS X debug

steve_o_
Beginner
932 Views

I have ifort v15 set up for OS X via command line and xcode 5.1, however I'm unable to find a debug config for xcode

Is my understanding (via an old post) that OS X debug is command line only?

Also, prior to buying the latest 2015 fortran compiler I was using 2013 compiler, consequently idb is still set up along with gdb-ia. Is gdb-ia the better option?

 

0 Kudos
7 Replies
steve_o_
Beginner
932 Views

Answering my own question, asked on the apple developer forum and there is no gdb support so its a no

0 Kudos
Steven_L_Intel1
Employee
932 Views

That was not the correct answer. The Apple forums aren't a good place to ask about Intel software.

We do provide gdb-ia and you should use that. The Fortran release notes contain instructions and pointers to more information.

0 Kudos
steve_o_
Beginner
932 Views

Steve

But Xcode is an Apple application not Intel, hence the apple developers would know of any impediment to third party debug support.

I did look through the PS XE Fortran 2015 documentation, quick start, main and release notes and did a search for xcode and didn't find it, hence my question on here ;-)

Are you saying that gdb-ia can be integrated and called from xcode? Could you point me to the right document please, I'm not seeing it for the trees

 

0 Kudos
Steven_L_Intel1
Employee
932 Views

I don't know if it can be used from Xcode. The Apple developers really don't care about third-party software. I'm not an OS X expert so I'm hoping one of my colleagues will jump in and give you guidance. But I recall that idb didn't work from Xcode either - Apple does not provide the hooks we would need.

0 Kudos
steve_o_
Beginner
932 Views

Hi Steve

Thats what I thought, thats the essence of what the Apple developers told me, the hooks aren't there anymore. (there isn't anywhere in xcode to point at a third party debugger. it's LLDB or none. ) Of course I can run gdb-ia from the command line. You can compile and run from Xcode however and I have that working, it's actually quite neat since you can set all kind of compiler config from the various config and scheme editors.

0 Kudos
Steven_L_Intel1
Employee
932 Views

Yes, but Xcode does not allow us to provide a build dependency checker so if you have modules we can't automatically control the build order.

0 Kudos
steve_o_
Beginner
932 Views

Thanks, my goal is that I can build my gui's and logic via cocoa in xcode and call any fortran based  routines perhaps as static libs to do numeric computation, I anticipated that I may have to do some manual work in getting everything to play together

I've already got my GUI written in Apple's new cocoa language Swift so I'm currently writing the computation engine

0 Kudos
Reply