tags:

views:

475

answers:

0

Hi all. I seem to be having some issues with building the latest Toolchain for developing for the iPhone. When building llvm-gcc, as per the instructions on the iphone-dev group page, I keep hitting this error:

/usr/local/bin/arm-apple-darwin-ld: /usr/local/share/iphone-filesystem/usr/lib/libc.dylib unknown flags (type) of section 4 (__TEXT,__dof_magmalloc) in load command 0
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.dylib] Error 1
make[1]: *** [stmp-multilib] Error 2
make: *** [all-gcc] Error 2

I'm not quite sure what it's driving at? Im guessing there could be some version issues. The iPhone in question is running firmware 3 with the latest PwnageTool so perhaps the instructions dont match up?

Here is the gunf: iphone dev wiki

Anyone seen such an error message before? I was thinking about Symlinks what with having to copy the filesystem and then compile against it. Can't see anything though.