I have been unable to figure out how to get cpptask to properly handle the creation of universal binaries at the link phase. From the command line, this is typically done by passing gcc the Darwin specific "-arch [i386|ppc|ppc64]" switch. For example, to create a "universal" i386 and ppc binary: "gcc -arch i386 -arch ppc *.c"
I can pass the -arch switches to the compiler and successfully build universal object files. I do have to use the workaround of breaking it up into multiple <compilerarg> statements:
The problem is that I can't seem to get the linker follow suit. I tried passing the "-arch" switches to the linker via <linkerarg>, but with no luck. Any ideas?
I am having the same issue =( Any help here would be hot.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.