That's not correct. The linker support only exists in ld64 for Xcode 2.4. It fails like this for ld(32). 32-bit Darwin targets shouldn't be using this assembly feature...

Shantonu

On Sep 9, 2006, at 12:16 PM, Eric Christopher wrote:


Using the cctools from Xcode 2.4, the failure changes and moves to the linkage
of libgfortran itself...
ld: .libs/maxloc0_4_r16.o unknown flags (type) of section 2 (__TEXT,__literal16) in load command 0 ld: .libs/maxloc0_8_r16.o unknown flags (type) of section 2 (__TEXT,__literal16) in load command 0 ld: .libs/maxloc1_4_r16.o unknown flags (type) of section 2 (__TEXT,__literal16) in load command 0 ld: .libs/maxloc1_8_r16.o unknown flags (type) of section 2 (__TEXT,__literal16) in load command 0 ld: .libs/maxval_r16.o unknown flags (type) of section 2 (__TEXT,__literal16) in load command 0 ld: .libs/minloc0_4_r16.o unknown flags (type) of section 2 (__TEXT,__literal16) in load command 0 ld: .libs/minloc0_8_r16.o unknown flags (type) of section 2 (__TEXT,__literal16) in load command 0 ld: .libs/minloc1_4_r16.o unknown flags (type) of section 2 (__TEXT,__literal16) in load command 0 ld: .libs/minloc1_8_r16.o unknown flags (type) of section 2 (__TEXT,__literal16) in load command 0 ld: .libs/minval_r16.o unknown flags (type) of section 2 (__TEXT,__literal16) in load command 0 ld: .libs/write.o unknown flags (type) of section 4 (__TEXT,__literal16) in load command 0
/usr/bin/libtool: internal link edit command failed
So if there is a usable cctools, it doesn't exist outside of Apple. I wonder if the literal16 patch was meant for Darwin intel only as I understand they don't
use stabs, etc at the moment.

No, it was meant for everything, it might only work with the cctools that was handed out at WWDC though. I've been looking around and can't find them though. I'll keep you updated.

-eric

Reply via email to