------- Comment #4 from simon at pushface dot org 2010-01-31 22:58 ------- (In reply to comment #3)
> I'm not sure that deleting ../$(RTSDIR)/*.o before building common-tools will > be OK in all circumstances, but it certainly works for a native Darwin build. > The point is that by this stage all the libraries (???) will have been built; > and we don't want gnatbind to pick up duplicate .o's from the rts directory > (which it scans because of -I../rts). After some discussion about this, in which the idea of deleting the RTSDIR object files was frowned on (not to mention that there is at least one .o file which needs to be retained in the RTSDIR), posted a patch at http://gcc.gnu.org/ml/gcc-patches/2010-01/msg01596.html Note that this patch's Subject: refers to PR ada/42254 whereas it should of course be 42554. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42554