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]

Re: [patch] fix recent breakage of darwin, mingw and others


newnews@gmx.de wrote:
Yesterday's patch to move gfortran to use libcpp uncovered some problems with different target configurations. This patch removes the usage of the culprit TARGET_* macros as the macros they define are nice-to-have during compilation of fortran-sources but (probably) not essential.


2008-05-26 Daniel Franke <franke.daniel@gmail.com>


	* fortran/cpp.c (cpp_define_builtins): Remove usage of TARGET_* macros,
	added FIXME instead.


Tested on i686-pc-linux-gnu by myself, on x86_64-pc-mingw32 by Kai Tietz and on Dominique Dhumieres currently tests it on i686-darwin.


Assuming no further problems, ok to commit?

This line causes some problems:


+ [grep for 'builtin_define_with_int_value' in config/*]

the /* is seen as error in the comment.

Removing the trailing * helps compiling this part.
But it fails later with undef symbols:
_darwin_register_objc_includes etc.

Is there another patch missing?

Thanks,
Andreas




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]