Dear All, I'm still a newbie, and do not understand very well the machinery behind the GCC garbage collector, in particular the following behavior on a recently svn update-ed GCC trunk. My system is an AMD64/Debian/Sid
cd /usr/src/Lang/gcc # my trunk svn info Path: . URL: svn://gcc.gnu.org/svn/gcc/trunk Repository Root: svn://gcc.gnu.org/svn/gcc Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4 Revision: 117825 Node Kind: directory Schedule: normal Last Changed Author: bkoz Last Changed Rev: 117825 Last Changed Date: 2006-10-17 14:53:40 +0200 (Tue, 17 Oct 2006) mkdir ../_GccObj cd ../_GccObj /usr/src/Lang/gcc/configure --disable-multilib --enable-languages=c,c++ make -j4 ## lots of output, compilation is successful ls -l gcc/xgcc -rwxr-xr-x 1 basile src 539143 Oct 17 15:51 gcc/xgcc ls -l gcc/gt-tree-ssa-operands.h -rw-r--r-- 1 basile src 1086 Oct 17 15:49 gcc/gt-tree-ssa-operands.h mv gcc/gt-tree-ssa-operands.h /tmp ## I removed a generated header (for GC support within GCC) ### .... make[2]: Entering directory `/usr/src/Lang/_TrunkGccObj/gcc' gcc -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -I. -I. -I/usr/src/Lang/gcc/gcc -I/usr/src/Lang/gcc/gcc/. -I/usr/src/Lang/gcc/gcc/../include -I/usr/src/Lang/gcc/gcc/../libcpp/include -I/usr/src/Lang/gcc/gcc/../libdecnumber -I../libdecnumber /usr/src/Lang/gcc/gcc/tree-ssa-operands.c -o tree-ssa-operands.o /usr/src/Lang/gcc/gcc/tree-ssa-operands.c:2571:34: error: gt-tree-ssa-operands.h: No such file or directory Why is the gt-tree-ssa-operands.h not rebuilt if removed? More generally, I have trouble adding a pass basile-analys.c (which does nothing useful yet) which includes its header basile-analys.h which contains struct-ures with GTY(()) so I need to have gt-basile-analys.h generated from basile-analys.h If you really want to dive into my sources (nothing interesting yet, I'm still earning Gcc with some pain), you could get them from http://ours.starynkevitch.net/basile/ggcc-basile.tgz (but this is a home computer on ADSL) - this is an archive of all the source files I added or changed to the GCC trunk Regards -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net aliases: basile<at>tunes<dot>org = bstarynk<at>nerim<dot>net 8, rue de la Faïencerie, 92340 Bourg La Reine, France