delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
Message-ID: | <3C65CAA0.77016B47@student.uu.se> |
Date: | Sun, 10 Feb 2002 02:19:28 +0100 |
From: | Sven Sandberg <svsa1977 AT student DOT uu DOT se> |
X-Mailer: | Mozilla 4.79 [en] (Win98; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | another gcc 3.03 dependency question |
NNTP-Posting-Host: | regulus2.student.uu.se |
X-Trace: | puffinus.its.uu.se 1013303653 regulus2.student.uu.se (10 Feb 2002 02:14:13 +0100) |
Lines: | 33 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
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 <tmp.h> 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 <tmp.h>, not "tmp.h", and I use -MM. I have a plain vanilla djgpp installtion (i.e., haven't hacked djgpp.env or specs or anything like that). gcc -v gives: 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 -- Sven Sandberg svsa1977 AT student DOT uu DOT se home.student.uu.se/svsa1977
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |