On 27/04/2010, at 10:51 PM, Vadim Godunko wrote: > On 04/27/2010 02:30 PM, Roger Mc Murtrie wrote: >>>>> >>>> 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 > I was unable to reconstruct whole discussion, but I can say you don't > need to edit configure/Makefile. Once configure did his job you can just > run gprconfig in desired way from command line. It is rerun from > Makefile after 'clean' of build tree. > > So, if you fixed issues with gprbuild, you can unpack QtAda, run > configure, run gprconfig and make. You will have errors, please send log > to me. I just tried a new unpack of the QtAda tar file, then ./configure gprconfig -o gnat/config.cgpr --target=i386-apple-darwin10.2.0 --config=ada --config=c++ --batch which produced, as you suggested: Creating configuration file: gnat/config.cgpr make then ran as far as: gprbuild -j2 -p -aP../../gnat -aP../../gnat --config=../../gnat/config.cgpr -Psource_core.gpr config.cgpr:6:08: undefined attribute "target" config.cgpr:10:08: undefined attribute "runtime_source_dir" config.cgpr:22:08: undefined attribute "separate_run_path_options" config.cgpr:32:11: undefined attribute "leading_required_switches" config.cgpr:33:18: unknown attribute "leading_required_switches" gprbuild: processing of configuration project "/Ada_Source/qtada-gpl-3.1.0/gnat/config.cgpr" failed
which is a problem I am currently faced with. Commenting out the offending lines allows progress with g++ compilation errors which are probably due to c++ 4.0.0 Include files being selected rather than c++ 4.2.1 Include files. I am trying to fix this. Thanks for you interest and previous assistance, Roger _______________________________________________ qtada-users mailing list [email protected] http://box347.bluehost.com/mailman/listinfo/qtada-users_lists.qtada.com
