> Attached is a patch to the 4.1 branch, I think it will apply to mainline > too. Branch built fine on powerpc-apple-darwin8.4.0 with c,ada enabled.
That's not sufficient: the compiler bootstraps fine, but all the ACATS tests fail to link: gnatlink a22006c.ali --GCC=/nile.build/botcazou/gnat6/powerpc-apple-darwin8/gcc/ xgcc -B/nile.build/botcazou/gnat6/powerpc-apple-darwin8/gcc/ /usr/bin/ld: warning -L: directory name (/nile.build/botcazou/gnat6/install_ppc/ lib/gcc/powerpc-apple-darwin8.0.0/4.1.0/adalib/) does not exist /usr/bin/ld: Undefined symbols: __Unwind_Resume __Unwind_ForcedUnwind __Unwind_GetDataRelBase __Unwind_GetIP __Unwind_GetLanguageSpecificData __Unwind_GetRegionStart __Unwind_GetTextRelBase __Unwind_RaiseException __Unwind_SetGR __Unwind_SetIP collect2: ld returned 1 exit status So, on Darwin, unlike any other platforms, you need to explicitly pass either -static-libgcc or -shared-libgcc to link the EH machinery. That seems weird. Geoff, any chance to bring Darwin back on par with the other platforms? -- Eric Botcazou