Bug 42659 - gnatmake thinks libraries aren't supported
Summary: gnatmake thinks libraries aren't supported
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: ada (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: 4.5.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-08 14:57 UTC by simon
Modified: 2010-01-09 18:27 UTC (History)
1 user (show)

See Also:
Host: x86_64-apple-darwin10
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Patch to gnattools/configure* (280 bytes, patch)
2010-01-08 15:00 UTC, simon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description simon 2010-01-08 14:57:36 UTC
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.
Comment 1 simon 2010-01-08 15:00:44 UTC
Created attachment 19508 [details]
Patch to gnattools/configure*
Comment 2 Eric Botcazou 2010-01-08 17:16:18 UTC
Patches should be posted to the gcc-patches@gcc.gnu.org mailing list.  Also see http://gcc.gnu.org/contribute.html for guidelines.
Comment 3 Eric Botcazou 2010-01-09 18:22:04 UTC
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

Comment 4 Eric Botcazou 2010-01-09 18:27:48 UTC
Fixed in the upcoming 4.5 series.