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_
初學者
941 檢視

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 積分
7 回應
steve_o_
初學者
941 檢視

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

Steven_L_Intel1
941 檢視

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.

steve_o_
初學者
941 檢視

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

 

Steven_L_Intel1
941 檢視

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.

steve_o_
初學者
941 檢視

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.

Steven_L_Intel1
941 檢視

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.

steve_o_
初學者
941 檢視

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

回覆