Previous one blocked for being  too big, here it is with the terminal output 
file zipped.

Begin forwarded message:

> From: Roger Mc Murtrie <[email protected]>
> Date: 27 April 2010 10:25:40 PM AEST
> To: [email protected]
> Cc: Stephen Leake <[email protected]>
> Subject: Re: [qtada-users] Problem building QtAda gpl 3.1.0 on Mac
> 
> 
> On 27/04/2010, at 9:30 AM, Stephen Leake wrote:
> 
>> it may be that the tarball doesn't have everything needed by autoreconf.
> Or it maybe that I didn't do something quite right.
>> 
>> So just edit configure and Makefile; they are much larger than
>> configure.ac and Makefile.am, but you should be able to find the right
>> line to edit.
> In configure.ac,  Makefile.am and Makefile.in and configure
> I've changed:
> $GPRCONFIG -o gnat/config.cgpr --config=ada --config=c++ --batch              
>  (which was hard coded in configure.)
> to
> $(GPRCONFIG) -o gnat/config.cgpr --target=i386-apple-darwin10.2.0 
> --config=ada --config=c++ --batch
> Following configure, I checked that the change was in the Makefile and that 
> gnat/config.cgpr had been
> built from the the command specified in configure. (gprconfig -o 
> gnat/config.cgpr --config=ada --config=c++ --batch 
> --target=i386-apple-darwin10.2.0).
> Running make got as far produced some complaints about some lines in 
> config.cgpr so I just commented out the offending lines.
> (I've attached my resulting config.cgpr)
> Running make then started to attempt g++ compiles but failed with a huge list 
> of error traces.
> 
> I then tried replacing the offending lines (which seem legitimate according 
> to the GPRbuilders User's Guide):
> --      for Leading_Required_Switches   ("C++") use
> --        Compiler'Leading_Required_Switches ("C++") &
> --        ("-c", "-x", "c++");
> 
>      for Switches   ("C++") use
>        Compiler 'Switches ("C++") &
>        ("-c", "-x", "c++");
> This had the effect of removing the  -I/usr/local/Trolltech/Qt-4.6.2/include  
> option from the G++ command line,
> so I didn't get the vast quantity of errors as it stopped after not being 
> able to find a few include files.
> Help will be appreciated, but if you don't have time don't worry.
> By the way, I successfully built GTKada and GPS 4.3.2 with this Ada compiler 
> (My first ever trouble-free build of GPS).
> Regards
> Roger
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.cgpr
Type: application/octet-stream
Size: 3765 bytes
Desc: not available
URL: 
<http://box347.bluehost.com/pipermail/qtada-users_lists.qtada.com/attachments/20100427/38014abe/attachment.obj>
-------------- next part --------------
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Terminal Output.txt.zip
Type: application/zip
Size: 9273 bytes
Desc: not available
URL: 
<http://box347.bluehost.com/pipermail/qtada-users_lists.qtada.com/attachments/20100427/38014abe/attachment.zip>
-------------- next part --------------

_______________________________________________
qtada-users mailing list
[email protected]
http://box347.bluehost.com/mailman/listinfo/qtada-users_lists.qtada.com

Reply via email to