Hi Eric, On 12 Dec 2013, at 12:11, Bernd Edlinger wrote:
>> >>> I have some more fixes for Ada cross-builds that Eric commented on but need >>> a little more work - will try to re-test this evening and re-post tomorrow. >> >> It's also PR ada/55946. Would mind trying the attached patch? >> >> -- >> Eric Botcazou > > Hi Eric, > > > your patch looks quite nice, (maybe s/host_alias= @host_alias@/host_alias = > @host_alias@/) > but I have to make a few more patches, to get it working: > > > error: "system.ads" has restriction No_Implicit_Dynamic_Code > error: but the following files violate this restriction: > error: "make.adb" > error: "makeutl.adb" > error: "prj.adb" > error: "prj-env.adb" > error: "prj-conf.adb" > error: "prj-proc.adb" > error: "prj-nmsc.adb" using your patch + the mod I made for LDFLAGS. I built x86_64-darwin12 X powerpc-darwin9 [build = x86_64-darwin12] and then a native X powerpc-darwin9 [build = x86_64-darwin12] Ada built and I can do "gnatmake hello.adb" on the powerpc system and produce a working exe, gcc and g++ seem to produce similar test output from recent runs. Do you have a way to run acats for an out-of-tree test? Iain