This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 2012-08-26 18:43, Angelo Graziosi wrote:
Hmm... I think it is a problem with GCC-4.6.3 on Kubuntu 12.04...
In this context, the .d files, like foo.d, are not source of D language but "dictionary" files generated in true software by other applications
(I don't know D but try cat foo.d...). Only on Kubuntu/Ubuntu (now I have verified also on Ubuntu 12.04...) with gcc-4.6.3 it is thinking that foo.d is a D source file!
On: Cygwin (gcc-4.5), Fedora 16 (gcc-4.6.3), Mac OS X (Macports gcc-4.6.3) there is ONLY a warning (btw, I have verified it occurs since Nov. 2010! and the built software has worked fine on different systems),
So there's no gcc-internal way to do what you want: tell the compiler to assume that a file ending in ".d" should be passed to the linker. You seem to have two choices: renaming the file, changing its extension to, say, ".dd". Alternatively, you can write "-Wl,foo.d" (not tested).
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |