CXXFLAGS_FOR_TARGET and config/mt-gnu

2010-03-25 Thread Doug Semler
The file config/mt-gnu currently defines CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE. To me, it seems that it should be += -D_GNU_SOURCE (like most of the other frags). Otherwise, I cannot override the CXXFLAGS without overriding CXXFLAGS_FOR_TARGET. Or am I missing something?

Re: CXXFLAGS_FOR_TARGET and config/mt-gnu

2010-03-26 Thread Doug Semler
On Thu, Mar 25, 2010 at 1:31 PM, Ian Lance Taylor wrote: > Doug Semler writes: > >> The file config/mt-gnu currently defines CXXFLAGS_FOR_TARGET = >> $(CXXFLAGS) -D_GNU_SOURCE.  To me, it seems that it should be += >> -D_GNU_SOURCE (like most of the other frags).  Otherwi

Re: static linking on Cygwin

2010-04-23 Thread Doug Semler
On Fri, Apr 23, 2010 at 5:35 AM, Janus Weil wrote: > I'm redirecting my question here, since it also applies to "gcc > -static" on Cygwin. > > Cheers, > Janus > > > > -- Forwarded message -- > From: Janus Weil > Date: 2010/4/23 > Subject: static linking on Cygwin > To: gfortran >

libstdc++, generic locale configuration, and c++0x

2010-06-06 Thread Doug Semler
While investigating a multithread segfault on mingw32 systems, I discovered that the cause of the problem is a data race introduced in the config/locale/generic/c_locale.cc and friends. There are several data races that can occur. Note that these races are INDEPENDENT of the thread safety of setl

Re: libstdc++, generic locale configuration, and c++0x

2010-06-06 Thread Doug Semler
On Sun, Jun 6, 2010 at 12:03 PM, Paolo Carlini wrote: > >> Before I entered a bug I wanted to see if I am actually interpreting >> this correctly. > > Assuming you are, the issue doesn't qualify for Bugzilla, because nobody > claims to have implemented this section of c++0x. > > Paolo Well, it do

Re: How to pass a pathlist in RUNTESTFLAGS?

2010-07-09 Thread Doug Semler
On Fri, Jul 9, 2010 at 9:12 AM, IainS wrote: > Hi, > > I want to do this: > >  RUNTESTFLAGS="--target_board=unix/-foo/-bar/--sysroot=/path/to/somewhere " > > I've tried escaping the path with \ ' inverting the " and ' ..  all to no > avail .. > >  what gets passed is -foo -bar --sysroot= -mpath -m