Hi Eric,

On 12 Dec 2013, at 12:34, Eric Botcazou wrote:

>> using your patch + the mod I made for LDFLAGS.
> 
> In gcc-interface/Makefile.in?  I wasn't sure if it was really needed.
> 
> Out of curiosity, what do you set LDFLAGS to exactly?

Darwin doesn't have gettext in libSystem, I build it as a convenience library, 
but it still needs to refer to a system framework. For this to link the 
gnattools I need:

LDFLAGS="-L/path/to/my/convenience/lib -framework CoreFoundation" 

I suppose that, one day, the make machinery should do something like
LDFLAGS = @LDFLAGS@ 
to save me putting this on every GCC build line ...

>> 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.
> 
> That's nice.
> 
>> Do you have a way to run acats for an out-of-tree test?
> 
> Presumably not, but you could try to run gnat.dg instead.

OK - will give that a whirl next time i am in front of that machine..

It would be a useful thing to make an acats script variant to work with 
installed/out-of-tree testing.
Iain

Reply via email to