X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: another gcc 3.03 dependency question Date: 10 Feb 2002 14:20:04 GMT Organization: Cornell University Lines: 44 Sender: asu1 AT cornell DOT invalid (on pool-141-149-207-44.syr.east.verizon.net) Message-ID: References: <3C65CAA0 DOT 77016B47 AT student DOT uu DOT se> NNTP-Posting-Host: pool-141-149-207-44.syr.east.verizon.net X-Trace: news01.cit.cornell.edu 1013350804 17196 141.149.207.44 (10 Feb 2002 14:20:04 GMT) X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu NNTP-Posting-Date: 10 Feb 2002 14:20:04 GMT User-Agent: Xnews/L5 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Sven Sandberg wrote in news:3C65CAA0.77016B47 @student.uu.se: > I have four files: > c:\djgpp\include\tmp.h contains: > #include "tmp2.h" > #include "tmp3.h" > c:\djgpp\include\tmp2.h is empty > c:\djgpp\include\tmp3.h is empty > tmp.c contains: > #include > > If I run > > gcc -MM tmp.c > > I get the output > > tmp.o: tmp.c c:/djgpp/lib/gcc-lib/djgpp/3.03/djgpp.ver \ > c:/djgpp/include/tmp3.h > > Why does it depend on tmp3.h but not tmp2.h? I think it shouldn't depend > on any of them, because it is written , not "tmp.h", and I use > -MM. I created the files as you described above, and can't replicate your problem. I am posting this because Eli mentioned he didn't have gcc 3.03 installed. C:\DOCUME~1\asu1\LOCALS~1\Temp>cat tmp.c #include C:\DOCUME~1\asu1\LOCALS~1\Temp>gcc -MM tmp.c tmp.o: tmp.c c:/djgpp/lib/gcc-lib/djgpp/3.03/djgpp.ver C:\DOCUME~1\asu1\LOCALS~1\Temp>gcc -v Reading specs from c:/djgpp/lib/gcc-lib/djgpp/3.03/specs Configured with: ../configure i586-pc-msdosdjgpp --prefix=/dev/env/DJDIR --disable-nls Thread model: single gcc version 3.0.3 Sinan.