This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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 target arm-linux


Hi Ben,


The following patch gets GCC building for arm-linux.  Without the
patch, LINUX_TARGET_OS_CPP_BUILTINS is not defined at all.  Is this
the right fix, though?


2003-12-09 Ben Elliston <bje@wasabisystems.com>


* config/arm/linux-elf.h (LINUX_TARGET_OS_CPP_BUILTINS): Define.


I think the correct solution is to change 'gcc/config.gcc'
in the part at 'arm*-*-linux*', so that the 'linux.h' header is added
to the 'tm_file' list.

I have added this change to my local trees and they started producing
results again (See gcc-testresults), but this change needs some more cleanups
(probably in linux-elf.h) because it generates warnings about duplicated defines.

Greetings,

Jeroen Dobbelaere





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