Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] CDT and Snow Leopard

For people using CDT and thinking about upgrading (or already have upgraded) to Snow Leopard, there's an issue with CDT not recognizing binaries. This prevents the program from being launched as a normal C application (but not using the PTP Parallel Application launch configuration).

The problem is that the Snow Leopard compiler now defaults to building a 64-bit executable, but the Mach-O parser in CDT does yet support 64- bit binaries. The only way to get around the problem is to build the executable as 32-bit. To do this for a managed project, you need to add "-m32" as a miscellaneous gcc option, and "-arch i386" as a miscellaneous linker option.

Regards,
Greg


Back to the top