Community
Participate
Working Groups
Build Identifier: 20100917-0705 Neither the Mach-O original and new 64 bit binary parsers are able to identify binaries produced in whichever way as ppc+i386 Universal build executables, if the IDE is running on a 64bit OS. Reproducible: Always Steps to Reproduce: 1. Create an external makefile project 2. Set up a makefile that creates universal binaries with architectures i386+ppc 3. Build project Binary is not picked up and it is thus impossible to Run/Debug via Eclipse
Created attachment 189047 [details] Patch that resolves the issue The patch simply allows the parser to continue when an i386 executable is found on a 64bit machine.
After the patch is applied, I am able to see the executable under "Binaries" in the project explorer, I am able to run it, and debug (tested using gdb/mi).
Hi, can you reopen the bug? Bugs should have a NEW, REOPENED or ASSIGNED status until the fix has been committed.
No fix has been committed yet.
Fixed in HEAD > 20110215.
*** cdt cvs genie on behalf of sprigogin *** Bug 337254 - Binary not found - Universal ppc+i386 executables are not picked up on 64 bit machines. Patch by Johan van den Berg. [*] MachO64.java 1.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/macho/MachO64.java?root=Tools_Project&r1=1.2&r2=1.3