This is the mail archive of the cygwin-patches mailing list for the Cygwin 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] Update build flags for new compiler feature


On Oct  3 16:38, Corinna Vinschen wrote:
> 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:_DllMainCRTStartup@12 --enable-auto-image-base} \
> > >     %{!mno-cygwin:__cygwin_dll_entry@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.

..and adding the tsaware flag to LINK_SPEC works, too.  Thanks!


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat


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