On Oct 3 15:04, Dave Korn wrote: > Corinna Vinschen wrote: > > >> I'll start building 4.3.4-2 on Monday. Busy this weekend. > > > > 'k. However, if you could give me the required expression, I'll add it > > to my cross gcc today :) > > Just add it to LINK_SPEC, making sure it's at the top level rather than > inside any of the nested braces, e.g.: > > > #define LINK_SPEC "\ > > %{mwindows:--subsystem windows} \ > > %{mconsole:--subsystem console} \ > -tsaware \ > > " CXX_WRAP_SPEC " \ > > %{shared: %{mdll: %eshared and mdll are not compatible}} \ > > %{shared: --shared} %{mdll:--dll} \ > > %{static:-Bstatic} %{!static:-Bdynamic} \ > > %{shared|mdll: -e \ > > %{mno-cygwin:_dllmaincrtstar...@12 --enable-auto-image-base} \ > > %{!mno-cygwin:__cygwin_dll_en...@12 --enable-auto-image-base}}\ > > %{!mno-cygwin:--dll-search-prefix=cyg}\ > > %(shared_libgcc_undefs)" > > > Oh, another question. When unpacking your package, there's a file called > > CYGWIN-PATCHES/pr38579.missing.diff. The patch in that file hasn't been > > applied to the sources. Should it? > > Yep, I stashed it away there because I forgot to put it in the build. It's > the fix for a problem someone reported on the main list.
Ok, I applied it, thank you. Adding -DUSE_CYGWIN_LIBSTDCXX_WRAPPERS=1 to XCFLAGS helped, btw. I'm just a bit puzzled that `cc1plus --help' claims that -muse-libstdc-wrappers is disabled by default. From the cygwin.h file it looks like it should be enabled by default. Hmm. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat