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]

Re: Bug in EGCS for the ARM... The


> >defined it was necessary to patch Makefile.in.  This seems to be a bug in an
> >earlier patch.  LIBGCC2_CFLAGS is set twice in the makefile and when compiling
> >no longer includes GTHREAD_FLAGS. 
> 
> This seems wrong.  I suspect you want to be patching config/arm/t-linux (which 
> overrides the definitions in the toplevel makefile) rather than Makefile.in 
> itself.  Ideally we would probably like to lose that override actually.
> 
> p.
> 
> 

Correct.  arm/t-linux shouldn't have been overriding LIBGCC2_CFLAGS, but 
defining TARGET_LIBGCC2_CFLAGS.  It just so happens that I commited a fix 
to this on Wednesday for the trunk egcs compiler.

Richard.



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