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: arc profiling broken


Richard Sandiford wrote:
> Nathan Sidwell <nathan@codesourcery.com> writes:
> 
>>As there's a --with-newlib configure flag, perhaps 
>>that can be used to provide TARGET_POSIX_IO, or maybe a new --with-posix-io 
>>configure flag?
> 
> 
> It sounds like you're proposing an opt-out system based on --with-newlib,
> but there are many other embedded targets besides newlib.  Even targets
> like mips-elf, although often used with newlib, don't really need to be.

I was thinking out loud.  if one had a --with-posix-io, one could default it
based on --with-newlib for example (and other configurey switches as necessary.

> Would an opt-in system be OK?  Targets with a POSIX environment tend
> to have more specific configuration names than embedded targets,
> so I think we're more likely to get it right that way.
sounds sensible too.

I'm not the expert on different ways of configuring things :)

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk


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