Vadim Godunko <[email protected]> writes:

> On 06/25/2010 04:31 AM, Roger Mc Murtrie wrote:
>> Any idea of what might cause the moc files not to be regenerated?
> Regeneration of moc files is a bug in the gprbuild. 

Can you elaborate on this? I'm maintaining gprbuild for Debian, and I
now use it at work in a way similar to your use in qtada. Specifically,
it runs auto_text_io to generate some packages, then gcc to compile
them and others. 

This works with GNAT Pro 6.3, with one minor problem; gprbuild doesn't
understand the ordering requirement between auto_text_io and gcc,
so it generates some files after they are needed. This requires two
passes of gprbuild, but the top level project file is the same.

To get a clean build from scratch, it is convenient to run gprbuild with
the auto_text_io top level project file first, then again with the main
top level project file. But that's not strictly necessary.

> This bug was fixed 

Can you say what changed?

> and now (starting from GPL 2010) everybody need to run gprbuild two
> times: one for generation of moc files and another one for build
> program. GPS can't work with two project files at the same time, so
> everyone need to go step back and return to Makefile. :-(

That's not a step back, it's a step up!

-- 
-- Stephe

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

Reply via email to