I recently purchased the Intel compilers for OSX and just today needed to do some debugging... for which I usually use XCode on OSX. I don't actually code my application using XCode... I just load up the executable in a blank project for debugging purposes.
But it appears this doesn't work (or I'm doing something wrong) with the Intel compilers. Here is the output I get from GDB (which XCode launches):
This GDB was configured as "i386-apple-darwin".tty /dev/ttys013 Architecture of file "/Users/gastdr/projects/bison/bison-dbg" does not match user selected architecture. Architecture of file "/Users/gastdr/projects/bison/bison-dbg" does not match user selected architecture. warning: A handler for the OS ABI "Darwin" is not built into this configuration of GDB. Attempting to continue with the default i386:x86-64 settings. sharedlibrary apply-load-rules all (gdb) run Running [Switching to process 4190 local thread 0xf03] arch: posix_spawnp: /Users/gastdr/projects/bison/bison-dbg: Bad CPU type in executable
Anyone have any ideas?
This is using version 11.0 20090131 and XCode version 3.1.2 on OSX 10.5.6