Use of a library GPR (which works fine with i386-apple-darwin10) fails with "libraries are not supported on this platform". This is because gnattools/configure uses the test powerpc-*-darwin* | *86-*-darwin*) TOOLS_TARGET_PAIRS="mlib-tgt-specific.adb<mlib-tgt-specific-darwin.adb" ;; I believe that in fact *-*-darwin* would work just fine, see attached patch.
Created attachment 19508 [details] Patch to gnattools/configure*
Patches should be posted to the gcc-patches@gcc.gnu.org mailing list. Also see http://gcc.gnu.org/contribute.html for guidelines.
Subject: Bug 42659 Author: ebotcazou Date: Sat Jan 9 18:21:52 2010 New Revision: 155771 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155771 Log: PR ada/42659 * configure.ac (powerpc|*86-*-darwin*): Extend to *-*-darwin*. * configure: Regenerate. Modified: trunk/gnattools/ChangeLog trunk/gnattools/configure trunk/gnattools/configure.ac
Fixed in the upcoming 4.5 series.